public abstract class LinearSolver extends GenericSolver implements UpdatableSolver
Modifier and Type | Class and Description |
---|---|
static class |
LinearSolver.Builder
Deprecated.
v50 Use
LinearSolver.StandardBuilder instead |
static class |
LinearSolver.GeneralBuilder
Compared to
LinearSolver.StandardBuilder this builder: 1) Accepts inequality constraints 2) Has relaxed the requiremnt on the RHS to be non-negative (both equalities and inequalities) Compared to ConvexSolver.Builder this builder: 1) Requires the objective function to be linear (or only the linear factors will be concidered) 2) Assumes (requires) variables to be non-negative |
static class |
LinearSolver.ModelIntegration |
static class |
LinearSolver.StandardBuilder
Defines optimisation problems on the (LP standard) form:
|
UpdatableSolver.EntityMap
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Sense, Optimisation.Solver, Optimisation.State
Modifier and Type | Field and Description |
---|---|
static LinearSolver.ModelIntegration |
INTEGRATION |
ACCURACY, options
Modifier | Constructor and Description |
---|---|
protected |
LinearSolver(Optimisation.Options solverOptions) |
Modifier and Type | Method and Description |
---|---|
static LinearSolver.StandardBuilder |
getBuilder()
Deprecated.
v50 Use
newStandardBuilder() or
newGeneralBuilder() instead. |
static LinearSolver.StandardBuilder |
getBuilder(MatrixStore<Double> C)
Deprecated.
v50 Use
newStandardBuilder() or
newGeneralBuilder() instead. |
protected abstract boolean |
initialise(Optimisation.Result kickStarter) |
protected abstract boolean |
needsAnotherIteration() |
static LinearSolver.GeneralBuilder |
newGeneralBuilder() |
static LinearSolver |
newSolver(ExpressionsBasedModel model) |
static LinearSolver.StandardBuilder |
newStandardBuilder() |
static Optimisation.Result |
solve(ConvexSolver.Builder convex,
Optimisation.Options options,
boolean zeroC) |
buildResult, countIterations, countTime, error, evaluateFunction, extractSolution, getClassSimpleName, getDuration, getState, incrementIterationsCount, isIterationAllowed, isLogDebug, isLogOff, isLogProgress, log, log, log, logProgress, resetIterationsCount, setState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fixVariable, generateCutCandidates, getEntityMap
dispose, solve, solve
public static final LinearSolver.ModelIntegration INTEGRATION
protected LinearSolver(Optimisation.Options solverOptions)
@Deprecated public static LinearSolver.StandardBuilder getBuilder()
newStandardBuilder()
or
newGeneralBuilder()
instead.@Deprecated public static LinearSolver.StandardBuilder getBuilder(MatrixStore<Double> C)
newStandardBuilder()
or
newGeneralBuilder()
instead.public static LinearSolver.GeneralBuilder newGeneralBuilder()
public static LinearSolver newSolver(ExpressionsBasedModel model)
public static LinearSolver.StandardBuilder newStandardBuilder()
public static Optimisation.Result solve(ConvexSolver.Builder convex, Optimisation.Options options, boolean zeroC)
protected abstract boolean initialise(Optimisation.Result kickStarter)
protected abstract boolean needsAnotherIteration()
Copyright © 2022 Optimatika. All rights reserved.