public static interface DataAlignmentGurobiSolver.Hook
Hook
for the SolverGurobi
.Modifier and Type | Method and Description |
---|---|
void |
call(gurobi.GRBEnv env,
gurobi.GRBModel model,
java.util.Map<java.lang.Object,gurobi.GRBVar> objToVar,
java.util.Map<gurobi.GRBVar,java.lang.Object> varToObj,
net.sf.javailp.Problem problem)
This method is called once before the optimization and allows to
change some internal settings.
|
void call(gurobi.GRBEnv env, gurobi.GRBModel model, java.util.Map<java.lang.Object,gurobi.GRBVar> objToVar, java.util.Map<gurobi.GRBVar,java.lang.Object> varToObj, net.sf.javailp.Problem problem)
env
- the environmentmodel
- the modelobjToVar
- the map from objects to gurobi variablesvarToObj
- the map from gurobi variables to objectsproblem
- the problem