Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix models with no VariablePrimalStart set #81

Merged
merged 2 commits into from
Jan 25, 2023
Merged

Fix models with no VariablePrimalStart set #81

merged 2 commits into from
Jan 25, 2023

Conversation

odow
Copy link
Collaborator

@odow odow commented Jan 25, 2023

Closes #80

It's a double whammy. There was a bug if no start values are given (we'd pick Inf), but we also told PATH the problem was linear and that it could evaluate the Jacobian once. But evaluating the Jacobian at Inf caused it to terminate. I guess before it was trying to check another point because it didn't know that the Jacobian was constant.

@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Base: 92.02% // Head: 92.04% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (6d11949) compared to base (b55bc4b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
+ Coverage   92.02%   92.04%   +0.02%     
==========================================
  Files           3        3              
  Lines         376      377       +1     
==========================================
+ Hits          346      347       +1     
  Misses         30       30              
Impacted Files Coverage Δ
src/MOI_wrapper.jl 96.80% <100.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@odow odow merged commit 253397c into master Jan 25, 2023
@odow odow deleted the od/fix-no-start branch January 25, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v1.4.0 is giving incorrect solutions
1 participant