public class OptimizationRequest extends Object
Constructor and Description |
---|
OptimizationRequest() |
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getA()
Get the equalities constraints matrix
|
double |
getAlpha()
Get the calibration parameter for line search
|
RealVector |
getB()
Get the equalities constraints vector
|
double |
getBeta()
Get the calibration parameter for line search
|
ConvexMultivariateRealFunction |
getF0()
Get the objective function to minimize
|
ConvexMultivariateRealFunction[] |
getFi()
Get the inequalities constraints array
|
RealVector |
getInitialLagrangian()
Get a starting point for the Lagrangian multipliers
|
RealVector |
getInitialPoint()
Get the feasible starting point for the minimum search
|
String |
getInteriorPointMethod()
Get the chosen interior-point method
|
int |
getMaxIteration()
Get the maximum number of iteration in the search algorithm.
|
double |
getMu()
Get the calibration parameter for line search
|
RealVector |
getNotFeasibleInitialPoint()
Get a not-feasible starting point for the minimum search
|
double |
getTolerance()
Get the tolerance for the minimum value.
|
double |
getToleranceFeas()
Get the tolerance for the constraints satisfaction.
|
double |
getToleranceInnerStep()
Get the tolerance for inner iterations in the barrier-method.
|
double |
getToleranceKKT()
Get the acceptable tolerance for KKT system resolution
|
boolean |
isCheckKKTSolutionAccuracy()
Check the accuracy of the solution of KKT system during iterations.
|
boolean |
isCheckProgressConditions()
If true, a progress in the relevant algorithm norms is
required during iterations, otherwise the iteration will
be exited with a warning
|
boolean |
isRescalingDisabled()
Is the matrix rescaling disabled?
|
void |
setA(double[][] a)
Set the equalities constraints matrix
|
void |
setA(RealMatrix a)
Set the equalities constraints matrix
|
void |
setAlpha(double a)
Set the calibration parameter for line search
|
void |
setB(double[] vecB)
Set the equalities constraints vector
|
void |
setB(RealVector vecB)
Set the equalities constraints vector
|
void |
setBeta(double be)
Set the calibration parameter for line search
|
void |
setCheckKKTSolutionAccuracy(boolean checkKKTSolutionAcc)
Set true if every inversion of the system must have an accuracy that satisfy
the given toleranceKKT, false otherwise.
|
void |
setCheckProgressConditions(boolean checkProgressCondition)
Set true if a progress in the relevant algorithm norms is
required during iterations, or false if the iteration will
be exited with a warning
|
void |
setF0(ConvexMultivariateRealFunction f)
Set the objective function to minimize
|
void |
setFi(ConvexMultivariateRealFunction[] f)
Set the inequalities constraints array
|
void |
setInitialLagrangian(double[] initialL)
Set a starting point for the Lagrangian multipliers
|
void |
setInitialPoint(double[] initialP)
Set the feasible starting point for the minimum search
|
void |
setInteriorPointMethod(String interiorPM)
Set the chosen interior-point method
|
void |
setMaxIteration(int maxIterations)
Set the maximum number of iteration in the search algorithm.
|
void |
setMu(double m)
Set the calibration parameter for line search
|
void |
setNotFeasibleInitialPoint(double[] notFeasibleInitialP)
Set a not-feasible starting point for the minimum search
|
void |
setRescalingDisabled(boolean rescalingDis)
Set if the matrix rescaling should be disabled (true) or not (false)
Rescaling is involved in LP presolving and in the solution of the KKT
systems associated with the problem.
|
void |
setTolerance(double toleranceMV)
Set the tolerance for the minimum value.
|
void |
setToleranceFeas(double toleranceF)
Set the tolerance for the constraints satisfaction.
|
void |
setToleranceInnerStep(double toleranceIS)
Set the tolerance for inner iterations in the barrier-method.
|
void |
setToleranceKKT(double toleranceK)
Set the acceptable tolerance for KKT system resolution
|
public int getMaxIteration()
public void setMaxIteration(int maxIterations)
maxIterations
- maximum number of iterationpublic double getTolerance()
public void setTolerance(double toleranceMV)
toleranceMV
- tolerancepublic double getToleranceFeas()
public void setToleranceFeas(double toleranceF)
toleranceF
- tolerancepublic double getToleranceInnerStep()
public void setToleranceInnerStep(double toleranceIS)
toleranceIS
- tolerancepublic double getAlpha()
public void setAlpha(double a)
a
- calibration parameterpublic double getBeta()
public void setBeta(double be)
be
- calibration parameterpublic double getMu()
public void setMu(double m)
m
- calibration parameterpublic boolean isCheckProgressConditions()
public void setCheckProgressConditions(boolean checkProgressCondition)
checkProgressCondition
- true/falsepublic boolean isCheckKKTSolutionAccuracy()
public void setCheckKKTSolutionAccuracy(boolean checkKKTSolutionAcc)
checkKKTSolutionAcc
- true/falsepublic double getToleranceKKT()
public void setToleranceKKT(double toleranceK)
toleranceK
- tolerancepublic ConvexMultivariateRealFunction getF0()
public void setF0(ConvexMultivariateRealFunction f)
f
- objective functionpublic RealVector getInitialPoint()
public void setInitialPoint(double[] initialP)
initialP
- feasible starting pointpublic RealVector getNotFeasibleInitialPoint()
public void setNotFeasibleInitialPoint(double[] notFeasibleInitialP)
notFeasibleInitialP
- not-feasible initial pointpublic RealVector getInitialLagrangian()
public void setInitialLagrangian(double[] initialL)
initialL
- initial pointpublic RealMatrix getA()
public void setA(double[][] a)
a
- equalities constraints double[][]public void setA(RealMatrix a)
a
- equalities constraints matrixpublic RealVector getB()
public void setB(double[] vecB)
vecB
- equalities constraints double[]public void setB(RealVector vecB)
vecB
- equalities constraints vectorpublic ConvexMultivariateRealFunction[] getFi()
public void setFi(ConvexMultivariateRealFunction[] f)
f
- inequalities constraints arraypublic String getInteriorPointMethod()
public void setInteriorPointMethod(String interiorPM)
interiorPM
- chosen interior-point method (string)public void setRescalingDisabled(boolean rescalingDis)
rescalingDis
- true/falsepublic boolean isRescalingDisabled()
Copyright © 2021 CNES. All rights reserved.