net.sf.javailp
Class SolverMosek

java.lang.Object
  extended by net.sf.javailp.AbstractSolver
      extended by net.sf.javailp.SolverMosek
All Implemented Interfaces:
Solver

public class SolverMosek
extends AbstractSolver

The SolverCPLEX is the Solver Mosek.


Nested Class Summary
static interface SolverMosek.Hook
          The Hook for the SolverMosek.
 
Field Summary
 
Fields inherited from interface net.sf.javailp.Solver
POSTSOLVE, TIMEOUT, VERBOSE
 
Constructor Summary
SolverMosek(mosek.Env env)
          Constructs a SolverMosek.
 
Method Summary
 void addHook(SolverMosek.Hook hook)
          Adds a hook.
 void removeHook(SolverMosek.Hook hook)
          Removes a hook
 Result solve(Problem problem)
          Solve the optimization problem.
 
Methods inherited from class net.sf.javailp.AbstractSolver
getParameters, setParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolverMosek

public SolverMosek(mosek.Env env)
Constructs a SolverMosek.

Parameters:
env - the mosek environment
Method Detail

addHook

public void addHook(SolverMosek.Hook hook)
Adds a hook.

Parameters:
hook - the hook to be added

removeHook

public void removeHook(SolverMosek.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