public class LpSolve extends Solver
| Constructor and Description |
|---|
LpSolve() |
| 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, getDefaultIntegerLinearSolver, getDefaultLinearSolver, hasDefaultGeneralSolver, hasDefaultIntegerLinearSolver, hasDefaultLinearSolver, setDefaultGeneralSolver, setDefaultIntegerLinearSolver, setDefaultLinearSolverpublic static boolean isInstalled()
throws UnsupportedOperationException
UnsupportedOperationExceptionpublic Map<Variable,Term> solve(ConstraintSatisfactionProblem problem)
Solverpublic static void setBinary(String binary)
binary - the path to the binary.public static void setTmpFolder(File path)
path - some path.Copyright © 2018. All rights reserved.