public class DataAlignmentGurobiSolver
extends net.sf.javailp.AbstractSolver
MyGurobiSolver
is the Solver
Gurobi.Modifier and Type | Class and Description |
---|---|
static interface |
DataAlignmentGurobiSolver.Hook
The
Hook for the SolverGurobi . |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<DataAlignmentGurobiSolver.Hook> |
hooks |
Constructor and Description |
---|
DataAlignmentGurobiSolver(gurobi.GRBEnv env) |
Modifier and Type | Method and Description |
---|---|
void |
addHook(DataAlignmentGurobiSolver.Hook hook)
Adds a hook.
|
void |
removeHook(DataAlignmentGurobiSolver.Hook hook)
Removes a hook
|
net.sf.javailp.Result |
solve(net.sf.javailp.Problem problem) |
protected final java.util.Set<DataAlignmentGurobiSolver.Hook> hooks
public DataAlignmentGurobiSolver(gurobi.GRBEnv env)
env
- gurobi environmentpublic net.sf.javailp.Result solve(net.sf.javailp.Problem problem)
public void addHook(DataAlignmentGurobiSolver.Hook hook)
hook
- the hook to be addedpublic void removeHook(DataAlignmentGurobiSolver.Hook hook)
hook
- the hook to be removed