public class OptimizationResponse extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FAILED
Failed variable
|
static int |
SUCCESS
Succes variable
|
static int |
WARN
Warn variable
|
Constructor and Description |
---|
OptimizationResponse() |
Modifier and Type | Method and Description |
---|---|
double[] |
getMultiplicators()
Returns the Lagrangian multipliers.
|
int |
getReturnCode()
Get the return code
|
double[] |
getSolution()
Get the solution
|
void |
setMultiplicators(double[] multiplicators)
Set the Lagrangian multipliers.
|
void |
setReturnCode(int code)
Set the return code (succes, warn or failed)
|
void |
setSolution(double[] sol)
Set the solution
|
public static final int SUCCESS
public static final int WARN
public static final int FAILED
public void setReturnCode(int code)
code
- return codepublic int getReturnCode()
public void setSolution(double[] sol)
sol
- solutionpublic double[] getSolution()
public void setMultiplicators(double[] multiplicators)
multiplicators
- Lagrangian multiplierspublic double[] getMultiplicators()
Copyright © 2023 CNES. All rights reserved.