public static final class ConvexSolver.Builder extends GenericSolver.Builder<ConvexSolver.Builder,ConvexSolver>
Modifier | Constructor and Description |
---|---|
|
Builder() |
protected |
Builder(ConvexSolver.Builder matrices) |
|
Builder(MatrixStore<Double> C) |
|
Builder(MatrixStore<Double> Q,
MatrixStore<Double> C) |
build, build
public Builder()
public Builder(MatrixStore<Double> C)
public Builder(MatrixStore<Double> Q, MatrixStore<Double> C)
protected Builder(ConvexSolver.Builder matrices)
public int countConstraints()
countConstraints
in class GenericSolver.Builder<ConvexSolver.Builder,ConvexSolver>
public int countEqualityConstraints()
public int countInequalityConstraints()
public int countVariables()
countVariables
in class GenericSolver.Builder<ConvexSolver.Builder,ConvexSolver>
public ConvexSolver.Builder equalities(MatrixStore<Double> mtrxAE, MatrixStore<Double> mtrxBE)
public MatrixStore<Double> getAE()
public RowsSupplier<Double> getAI()
public SparseArray<Double> getAI(int row)
public MatrixStore<Double> getBE()
public MatrixStore<Double> getBI()
public MatrixStore<Double> getC()
public PhysicalStore<Double> getQ()
public boolean hasEqualityConstraints()
public boolean hasInequalityConstraints()
public boolean hasObjective()
public ConvexSolver.Builder inequalities(Access2D<Double> mtrxAI, MatrixStore<Double> mtrxBI)
public ConvexSolver.Builder objective(MatrixStore<Double> mtrxC)
public ConvexSolver.Builder objective(MatrixStore<Double> mtrxQ, MatrixStore<Double> mtrxC)
public void reset()
public void validate()
protected ConvexSolver doBuild(Optimisation.Options options)
doBuild
in class GenericSolver.Builder<ConvexSolver.Builder,ConvexSolver>
Copyright © 2019 Optimatika. All rights reserved.