You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.
Currently, LQOI essentially keeps the constant part of the objective for itself, storing it in a field of the optimizer rather than actually passing it to the solver. However, there are situations (like jump-dev/Gurobi.jl#111 ) where it's useful to actually have that constant exposed to the solver.
Exposing the objective constant to the solver would require that all the wrapped solvers support that:
I think this could also be done in a compatible way by doing the following:
Create new functions in the LQOI solver interface set_constant_objective and get_constant_objective, with default definitions that just access the .objective_constant field.
In each solver, implement those interface functions using the internal APIs
Once all the solvers are updated, delete the objective_constant field from LQOI
Currently, LQOI essentially keeps the constant part of the objective for itself, storing it in a field of the optimizer rather than actually passing it to the solver. However, there are situations (like jump-dev/Gurobi.jl#111 ) where it's useful to actually have that constant exposed to the solver.
Exposing the objective constant to the solver would require that all the wrapped solvers support that:
glp_set_obj_coef
withj=0
to set the constant term)The text was updated successfully, but these errors were encountered: