public abstract static class ExpressionsBasedModel.Integration<S extends Optimisation.Solver> extends Object implements Optimisation.Integration<ExpressionsBasedModel,S>
Optimisation.Constraint, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.State
Constructor and Description |
---|
Integration() |
Modifier and Type | Method and Description |
---|---|
Optimisation.Result |
extractSolverState(ExpressionsBasedModel model)
Extract state from the model and convert it to solver state.
|
protected int |
getIndexInSolver(ExpressionsBasedModel model,
Variable variable) |
protected abstract boolean |
isSolutionMapped() |
Optimisation.Result |
toModelState(Optimisation.Result solverState,
ExpressionsBasedModel model)
Convert solver state to model state.
|
Optimisation.Result |
toSolverState(Optimisation.Result modelState,
ExpressionsBasedModel model)
Convert model state to solver state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, isCapable
public final Optimisation.Result extractSolverState(ExpressionsBasedModel model)
Optimisation.Integration
extractSolverState
in interface Optimisation.Integration<ExpressionsBasedModel,S extends Optimisation.Solver>
Optimisation.Integration.extractSolverState(org.ojalgo.optimisation.Optimisation.Model)
public Optimisation.Result toModelState(Optimisation.Result solverState, ExpressionsBasedModel model)
Optimisation.Integration
toModelState
in interface Optimisation.Integration<ExpressionsBasedModel,S extends Optimisation.Solver>
public Optimisation.Result toSolverState(Optimisation.Result modelState, ExpressionsBasedModel model)
Optimisation.Integration
toSolverState
in interface Optimisation.Integration<ExpressionsBasedModel,S extends Optimisation.Solver>
protected int getIndexInSolver(ExpressionsBasedModel model, Variable variable)
protected abstract boolean isSolutionMapped()
Copyright © 2019 Optimatika. All rights reserved.