public class CPlexMIPSolver extends Object implements IMIPSolver
Modifier and Type | Class and Description |
---|---|
protected static class |
CPlexMIPSolver.IntermediateSolutionGatherer
Gather up the intermediate solutions as they become available.
|
Constructor and Description |
---|
CPlexMIPSolver() |
Modifier and Type | Method and Description |
---|---|
void |
exportToDisk(IMIP mip,
Path path) |
Object |
getCplexParam(SolveParam solveParam) |
static void |
main(String[] argv) |
void |
setControlParams(ilog.cplex.IloCplex cplex,
Iterable<SolveParam> params,
Function<SolveParam,Object> getValue) |
IMIPResult |
solve(IMIP mip)
Solves a MIP that you have constructed.
|
public IMIPResult solve(IMIP mip) throws MIPException
IMIPSolver
solve
in interface IMIPSolver
MIPException
public void setControlParams(ilog.cplex.IloCplex cplex, Iterable<SolveParam> params, Function<SolveParam,Object> getValue)
public Object getCplexParam(SolveParam solveParam)
public static void main(String[] argv)
Copyright © 2017. All rights reserved.