net.sf.javailp
Class SolverGurobi
java.lang.Object
net.sf.javailp.AbstractSolver
net.sf.javailp.SolverGurobi
- All Implemented Interfaces:
- Solver
public class SolverGurobi
- extends AbstractSolver
The SolverGurobi
is the Solver
Gurobi.
Nested Class Summary |
static interface |
SolverGurobi.Hook
The Hook for the SolverGurobi . |
SolverGurobi
public SolverGurobi()
solve
public Result solve(Problem problem)
- Description copied from interface:
Solver
- Solve the optimization problem. Returns
null
if there exists no
feasible solution for the problem.
- Parameters:
problem
- the optimization problem
- Returns:
- the result
addHook
public void addHook(SolverGurobi.Hook hook)
- Adds a hook.
- Parameters:
hook
- the hook to be added
removeHook
public void removeHook(SolverGurobi.Hook hook)
- Removes a hook
- Parameters:
hook
- the hook to be removed