public static final class Optimisation.Result extends Object implements Optimisation, Access1D<BigDecimal>, Comparable<Optimisation.Result>
Optimisation.Constraint, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.State
Access1D.Aggregatable<N extends Number>, Access1D.Collectable<N extends Number,R extends Mutate1D.Receiver<N>>, Access1D.Elements, Access1D.ElementView<N extends Number>, Access1D.IndexOf, Access1D.Sliceable<N extends Number>, Access1D.Visitable<N extends Number>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,?>>, Structure1D.LongIndex, Structure1D.LoopCallback
Constructor and Description |
---|
Result(Optimisation.State state,
Access1D<?> solution) |
Result(Optimisation.State state,
double value,
Access1D<?> solution) |
Result(Optimisation.State state,
Optimisation.Result result) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Optimisation.Result reference) |
long |
count() |
double |
doubleValue(long index) |
boolean |
equals(Object obj) |
BigDecimal |
get(long index) |
Optional<Access1D<?>> |
getMultipliers()
The dual variables or Lagrange multipliers associated with the problem.
|
Optimisation.Result |
getSolution(NumberContext precision)
Will round the solution to the given precision
|
Optimisation.State |
getState() |
double |
getValue()
Objective Function Value
|
int |
hashCode() |
Optimisation.Result |
multipliers(Access1D<?> multipliers) |
int |
size() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCollectable1D, asPrimitive1D, axpy, byteValue, dot, elements, equals, floatValue, hashCode, intValue, longValue, nonzeros, shortValue, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
index, loopAll, loopMatching, loopRange, mapper
public Result(Optimisation.State state, Access1D<?> solution)
public Result(Optimisation.State state, double value, Access1D<?> solution)
public Result(Optimisation.State state, Optimisation.Result result)
public int compareTo(Optimisation.Result reference)
compareTo
in interface Comparable<Optimisation.Result>
public long count()
count
in interface Structure1D
public double doubleValue(long index)
doubleValue
in interface Access1D<BigDecimal>
public BigDecimal get(long index)
get
in interface Access1D<BigDecimal>
public Optional<Access1D<?>> getMultipliers()
public Optimisation.Result getSolution(NumberContext precision)
public Optimisation.State getState()
public double getValue()
public Optimisation.Result multipliers(Access1D<?> multipliers)
public int size()
size
in interface Structure1D
Copyright © 2019 Optimatika. All rights reserved.