public class BarrierMethod extends OptimizationRequestHandler
dim, MAX_ITERATIONS, meq, mieq, request, response, SCALAR, successor
Constructor and Description |
---|
BarrierMethod(BarrierFunction barrierF)
Constructor used to set the barrier function
|
Modifier and Type | Method and Description |
---|---|
protected BarrierFunction |
getBarrierFunction()
Get the barrier function
|
protected RealVector |
getFi(RealVector x)
Use the barrier function instead.
|
protected RealMatrix |
getGradFi(RealVector x)
Use the barrier function instead.
|
RealMatrix[] |
getHessFi(RealVector x)
Use the barrier function instead.
|
int |
optimize()
Optimizer
|
checkCustomExitConditions, findEqFeasiblePoint, findEqFeasiblePoint2, forwardOptimizationRequest, getA, getAlpha, getAT, getB, getBeta, getDim, getF0, getF0, getFi, getGradF0, getHessF0, getInitialLagrangian, getInitialPoint, getInteriorPointMethod, getMaxIteration, getMeq, getMieq, getMu, getNotFeasibleInitialPoint, getOptimizationRequest, getOptimizationResponse, getTolerance, getToleranceFeas, getToleranceInnerStep, getToleranceKKT, isCheckKKTSolutionAccuracy, isCheckProgressConditions, isInDomainF0, rPri, setOptimizationRequest, setOptimizationResponse
public BarrierMethod(BarrierFunction barrierF)
barrierF
- barrier functionpublic int optimize() throws PatriusException
optimize
in class OptimizationRequestHandler
PatriusException
- if an error occursprotected RealVector getFi(RealVector x)
getFi
in class OptimizationRequestHandler
x
- values Xprotected RealMatrix getGradFi(RealVector x)
getGradFi
in class OptimizationRequestHandler
x
- gradients Xpublic RealMatrix[] getHessFi(RealVector x)
getHessFi
in class OptimizationRequestHandler
x
- hessians Xprotected BarrierFunction getBarrierFunction()
Copyright © 2021 CNES. All rights reserved.