public class GlpkSolver extends Solver
| Constructor and Description |
|---|
GlpkSolver() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isInstalled() |
static void |
setBinary(String binary)
Sets the path to the binary.
|
static void |
setTmpFolder(File path)
Sets the path for the temporary folder.
|
Map<Variable,Term> |
solve(ConstraintSatisfactionProblem problem)
Computes a solution to the given constraint satisfaction or optimization problem, i.e.
|
getDefaultGeneralSolver, getDefaultLinearSolver, hasDefaultGeneralSolver, hasDefaultLinearSolver, setDefaultGeneralSolver, setDefaultLinearSolverpublic static boolean isInstalled()
throws UnsupportedOperationException
UnsupportedOperationExceptionpublic Map<Variable,Term> solve(ConstraintSatisfactionProblem problem) throws GeneralMathException
Solversolve in class Solverproblem - the actual problemGeneralMathException - if something went wrong.public static void setBinary(String binary)
binary - the path to the binary.public static void setTmpFolder(File path)
path - some path.Copyright © 2016. All rights reserved.