public ILPProblem() { this(new GurobiHook()); }
public ILPSolver getSolver() { switch (type) { case Beam: return new BeamSearch(beamSize); case Gurobi: return new GurobiHook(); case OJAlgo: return new OJalgoHook(); case JLISCuttingPlaneGurobi: return new JLISCuttingPlaneILPSolverGurobi(new GurobiHook()); } throw new RuntimeException(); } }
public ILPSolver getSolver() { switch (type) { case Beam: return new BeamSearch(beamSize); case Gurobi: return new GurobiHook(); case OJAlgo: return new OJalgoHook(); case JLISCuttingPlaneGurobi: return new JLISCuttingPlaneILPSolverGurobi(new GurobiHook()); } throw new RuntimeException(); } }