Class LinearSolver
java.lang.Object
org.ojalgo.optimisation.GenericSolver
org.ojalgo.optimisation.linear.LinearSolver
- All Implemented Interfaces:
Optimisation, Optimisation.Solver, UpdatableSolver
- Direct Known Subclasses:
SimplexSolver, SimplexTableauSolver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCompared tothis builder:invalid reference
LinearSolver.StandardBuilder
1) Accepts inequality constraints
2) Has relaxed the requiremnt on the RHS to be non-negative (both equalities and inequalities)static final classstatic final class(package private) static final classAn integration to a new/alternative/experimental LP-solver.(package private) static final classNested classes/interfaces inherited from interface Optimisation
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M,S>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.ProblemStructure, Optimisation.Result, Optimisation.Sense, Optimisation.Solver, Optimisation.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExpressionsBasedModel.Integration<LinearSolver> (package private) static final LinearSolver.NewIntegration(package private) static final LinearSolver.OldIntegrationAn integration to a old/classic/primal LP-solver.Fields inherited from class GenericSolver
options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinearSolver.Builderstatic LinearSolver.BuildernewBuilder(double... objective) static LinearSolver.BuilderDeprecated.static LinearSolver.BuildernewGeneralBuilder(double... objective) Deprecated.v55 UsenewBuilder(double...)insteadstatic LinearSolvernewSolver(ExpressionsBasedModel model) static LinearSolver.BuilderDeprecated.v55 UsenewBuilder()insteadstatic LinearSolver.BuildernewStandardBuilder(double... objective) Deprecated.v55 UsenewBuilder(double...)insteadstatic Optimisation.Resultsolve(ConvexData convex, Optimisation.Options options, boolean zeroC) (package private) static LinearFunction<Double> toObjectiveFunction(MatrixStore<Double> mtrxC) Methods inherited from class GenericSolver
countIterations, countTime, error, getClassSimpleName, getDuration, getState, incrementIterationsCount, isIterationAllowed, isLogDebug, isLogOff, isLogProgress, log, log, log, log, logProgress, printf, resetIterationsCount, setState, setValidator, validate, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Optimisation.Solver
dispose, solve, solveMethods inherited from interface UpdatableSolver
fixVariable, generateCutCandidates, getEntityMap, integers, isMapped, updateRange
-
Field Details
-
INTEGRATION
-
NEWER_DUAL_SOLVER
-
OLDER_PRIMAL_SOLVER
An integration to a old/classic/primal LP-solver.
-
-
Constructor Details
-
LinearSolver
-
-
Method Details
-
newBuilder
-
newBuilder
-
newGeneralBuilder
Deprecated.v55 UsenewBuilder()instead -
newGeneralBuilder
Deprecated.v55 UsenewBuilder(double...)instead -
newSolver
-
newStandardBuilder
Deprecated.v55 UsenewBuilder()instead -
newStandardBuilder
Deprecated.v55 UsenewBuilder(double...)instead -
solve
public static Optimisation.Result solve(ConvexData convex, Optimisation.Options options, boolean zeroC) -
toObjectiveFunction
-
newBuilder()instead