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

Setting FEASIBILITY_SENSE should remove objective #244

Closed
odow opened this issue Sep 3, 2019 · 0 comments · Fixed by #256
Closed

Setting FEASIBILITY_SENSE should remove objective #244

odow opened this issue Sep 3, 2019 · 0 comments · Fixed by #256
Assignees
Labels
Wrapper: MathOptInterface Issue is specific to MOI wrapper

Comments

@odow
Copy link
Member

odow commented Sep 3, 2019

We need to zero the objective when the user sets FEASIBILITY_SENSE:
https://github.com/JuliaOpt/Gurobi.jl/blob/4ff0d037a614ad3dcbcdf34de2cc6ef5d4eb1401/src/MOI_wrapper.jl#L519-L521

We probably also need to change ObjectiveFunctionType to throw an error if FEASIBILITY_SENSE.

@odow odow added the Wrapper: MathOptInterface Issue is specific to MOI wrapper label Sep 3, 2019
@odow odow self-assigned this Sep 23, 2019
@odow odow closed this as completed in #256 Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Wrapper: MathOptInterface Issue is specific to MOI wrapper
Development

Successfully merging a pull request may close this issue.

1 participant