public class LPOptimizationRequest extends OptimizationRequest
Constructor and Description |
---|
LPOptimizationRequest() |
Modifier and Type | Method and Description |
---|---|
LPOptimizationRequest |
cloneMe()
Clone a linear problem request
|
RealVector |
getC()
Get the linear objective function
|
RealMatrix |
getG()
Get the linear inequalities constraints matrix
|
RealVector |
getH()
Get the linear inequalities constraints coefficients
|
RealVector |
getLb()
Get the lower bounds
|
RealVector |
getUb()
Get the upper bounds
|
RealVector |
getYlb()
Get the Lagrangian lower bounds for linear constraints (A rows)
|
RealVector |
getYub()
Get the Lagrangian upper bounds for linear constraints (A rows)
|
RealVector |
getZlb()
Get the Lagrangian upper bounds for linear bounds
|
RealVector |
getZub()
Get the Lagrangian upper bounds for upper bounds
|
boolean |
isAvoidPresolvingFillIn()
If true, no methods that cause fill-in in the original matrices will be called during the presolving phase.
|
boolean |
isAvoidPresolvingIncreaseSparsity()
If true, no method for making normal equations sparser will be applied during the presolving phase.
|
boolean |
isCheckOptimalLagrangianBounds()
Check if the bound conditions on the optimal equality constraints Lagrangian coefficients are respected.
|
boolean |
isPresolvingDisabled()
Should LP presolving be disabled?
|
void |
setAvoidPresolvingFillIn(boolean avoidPFI)
Set true if no methods that cause fill-in in the original matrices will be called during the presolving phase
or false otherwise
|
void |
setAvoidPresolvingIncreaseSparsity(boolean avoidPIS)
Set true if no method for making normal equations sparser will be applied during the presolving phase
or false otherwise
|
void |
setC(double[] valueC)
Set the linear objective function
|
void |
setC(RealVector vecC)
Set the linear objective function
|
void |
setCheckOptimalLagrangianBounds(boolean checkOLB)
Set if the bound conditions on the optimal equality constraints Lagrangian coefficients are respected.
|
void |
setF0(ConvexMultivariateRealFunction f0)
Set the objective function to minimize
|
void |
setFi(ConvexMultivariateRealFunction[] fi)
Set the inequalities constraints array
|
void |
setG(double[][] valueG)
Set the linear inequalities constraints matrix
|
void |
setG(RealMatrix matG)
Set the linear inequalities constraints matrix
|
void |
setH(double[] valueH)
Set the linear inequalities constraints coefficients
|
void |
setH(RealVector vecH)
Set the linear inequalities constraints coefficients
|
void |
setLb(double[] lB)
Set the lower bounds
|
void |
setLb(RealVector lbVector)
Set the lower bounds
|
void |
setPresolvingDisabled(boolean presolvingDis)
Set if LP presolving should be disabled
|
void |
setUb(double[] uB)
Set the upper bounds
|
void |
setUb(RealVector uB)
Set the upper bounds
|
void |
setYlb(RealVector ylbVector)
Set the Lagrangian lower bounds for linear constraints (A rows)
|
void |
setYub(RealVector yubVector)
Set the Lagrangian upper bounds for linear constraints (A rows)
|
void |
setZlb(RealVector zlbVector)
Set the Lagrangian upper bounds for linear bounds
|
void |
setZub(RealVector zubVector)
Set the Lagrangian upper bounds for upper bounds
|
String |
toString()
Convert into string
|
getA, getAlpha, getB, getBeta, getF0, getFi, getInitialLagrangian, getInitialPoint, getInteriorPointMethod, getMaxIteration, getMu, getNotFeasibleInitialPoint, getTolerance, getToleranceFeas, getToleranceInnerStep, getToleranceKKT, isCheckKKTSolutionAccuracy, isCheckProgressConditions, isRescalingDisabled, setA, setA, setAlpha, setB, setB, setBeta, setCheckKKTSolutionAccuracy, setCheckProgressConditions, setInitialLagrangian, setInitialPoint, setInteriorPointMethod, setMaxIteration, setMu, setNotFeasibleInitialPoint, setRescalingDisabled, setTolerance, setToleranceFeas, setToleranceInnerStep, setToleranceKKT
public RealVector getC()
public void setC(double[] valueC)
valueC
- linear objective functionpublic void setC(RealVector vecC)
vecC
- linear objective functionpublic RealMatrix getG()
public void setG(double[][] valueG)
valueG
- linear inequalities constraints matrixpublic void setG(RealMatrix matG)
matG
- linear inequalities constraints matrixpublic RealVector getH()
public void setH(double[] valueH)
valueH
- linear inequalities constraints coefficientspublic void setH(RealVector vecH)
vecH
- linear inequalities constraints coefficientspublic RealVector getLb()
public void setLb(double[] lB)
lB
- lower boundspublic void setLb(RealVector lbVector)
lbVector
- lower boundspublic RealVector getUb()
public void setUb(double[] uB)
uB
- upper boundspublic void setUb(RealVector uB)
uB
- upper boundspublic RealVector getYlb()
public void setYlb(RealVector ylbVector)
ylbVector
- Lagrangian lower bounds for linear constraintspublic RealVector getYub()
public void setYub(RealVector yubVector)
yubVector
- Lagrangian upper bounds for linear constraintspublic RealVector getZlb()
public void setZlb(RealVector zlbVector)
zlbVector
- Lagrangian upper bounds for linear boundspublic RealVector getZub()
public void setZub(RealVector zubVector)
zubVector
- Lagrangian upper bounds for upper boundspublic boolean isAvoidPresolvingIncreaseSparsity()
public void setAvoidPresolvingIncreaseSparsity(boolean avoidPIS)
avoidPIS
- true/falsepublic boolean isAvoidPresolvingFillIn()
public void setAvoidPresolvingFillIn(boolean avoidPFI)
avoidPFI
- true/falsepublic boolean isPresolvingDisabled()
public void setPresolvingDisabled(boolean presolvingDis)
presolvingDis
- true/falsepublic boolean isCheckOptimalLagrangianBounds()
public void setCheckOptimalLagrangianBounds(boolean checkOLB)
checkOLB
- true/falsepublic void setF0(ConvexMultivariateRealFunction f0)
setF0
in class OptimizationRequest
f0
- objective functionpublic void setFi(ConvexMultivariateRealFunction[] fi)
setFi
in class OptimizationRequest
fi
- inequalities constraints arraypublic LPOptimizationRequest cloneMe()
Copyright © 2023 CNES. All rights reserved.