-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allowing constant objective function #80
Conversation
It is strange that |
|
@blegat Can you elaborate a bit more about your suggestion? Is this comment on b25afc9? |
Add a method function JuMP.set_objective_function(m::StructuredModel, f::Real)
JuMP.set_objective_function(m, convert(AffExpr, f))
end It should work once jump-dev/JuMP.jl#2247 is merged. We should do a patch release of JuMP including this PR soon so that won't block this PR for long |
@blegat can you check if the changes are compatible to the PR? |
Add in |
@blegat any other concerns or suggestions? |
No description provided.