net.sf.javailp
Class SolverCPLEX
java.lang.Object
net.sf.javailp.AbstractSolver
net.sf.javailp.SolverCPLEX
- All Implemented Interfaces:
- Solver
public class SolverCPLEX
- extends AbstractSolver
The SolverCPLEX is the Solver CPLEX.
|
Nested Class Summary |
static interface |
SolverCPLEX.Hook
The Hook for the SolverCPLEX. |
SolverCPLEX
public SolverCPLEX()
addHook
public void addHook(SolverCPLEX.Hook hook)
- Adds a hook.
- Parameters:
hook - the hook to be added
removeHook
public void removeHook(SolverCPLEX.Hook hook)
- Removes a hook
- Parameters:
hook - the hook to be removed
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