net.sf.javailp
Interface SolverGurobi.Hook
- Enclosing class:
- SolverGurobi
public static interface SolverGurobi.Hook
The Hook
for the SolverGurobi
.
Method Summary |
void |
call(gurobi.GRBEnv env,
gurobi.GRBModel model,
Map<Object,gurobi.GRBVar> objToVar,
Map<gurobi.GRBVar,Object> varToObj,
Problem problem)
This method is called once before the optimization and allows to
change some internal settings. |
call
void call(gurobi.GRBEnv env,
gurobi.GRBModel model,
Map<Object,gurobi.GRBVar> objToVar,
Map<gurobi.GRBVar,Object> varToObj,
Problem problem)
- This method is called once before the optimization and allows to
change some internal settings.
- Parameters:
env
- the environmentmodel
- the modelobjToVar
- the map from objects to gurobi variablesvarToObj
- the map from gurobi variables to objectsproblem
- the problem