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