IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
DTO (Data Transfer Objects) for storing contents of direct analysis request (in optimization problems). More...
Public Member Functions | |
AnalysisRequestDto () | |
Default constructor. More... | |
override AnalysisResults | CreateObject () |
Creates and returns a new analysis request object. More... | |
Protected Member Functions | |
override void | CopyFromPlain (AnalysisResults anres) |
Copies data to the current DTO from an analysis results object. More... | |
override void | CopyToPlain (ref AnalysisResults anres) |
Copies data from the current DTO to a vector object. More... | |
Properties | |
int | NumParameters [get, set] |
Number of parameters of an optimization problem. More... | |
int | NumObjectives [get, set] |
Number of objective functions (usually 1, always less or equal to 1 - since this is not meant for multiobjective optimization). More... | |
int | NumConstraints [get, set] |
Number of constraint functions in the optimization problem. More... | |
int | NumEqualityConstraints [get, set] |
Number of equality constraints. More... | |
VectorDtoBase | Parameters [get, set] |
Vector of parameters at which response functons are requested. More... | |
bool | RequestedObjective [get, set] |
Flag indicating whether calculation of objective function is required or not. More... | |
bool | RequestedConstraints [get, set] |
Flag indicating whether calculation of constraint functions is required or not. More... | |
bool | RequestedObjectiveGradient [get, set] |
Flag indicating whether calculation of objective function gradient is required or not. More... | |
bool | RequestedConstraintGradients [get, set] |
Flag indicating whether calculation of constraint function gradients is required or not. More... | |
bool | RequestedObjectiveHessian [get, set] |
Flag indicating whether calculation of objective function Hessian is required or not. More... | |
bool | RequestedConstraintHessians [get, set] |
Flag indicating whether calculation of constraint function Hessians is required or not. More... | |
Private Attributes | |
int | _numParameters = 1 |
int | _numObjectives = 1 |
int | _numConstraints = 0 |
int | _numEqualityConstraints = 0 |
VectorDtoBase | _parameters |
bool | _reqObjective = true |
bool | _reqConstraints = true |
bool | _reqObjectiveGradient = false |
bool | _reqConstraintGradients = false |
bool | _reqObjectiveHessian = false |
bool | _reqConstraintHessians = false |
DTO (Data Transfer Objects) for storing contents of direct analysis request (in optimization problems).
$A Igor Aug10;
|
inline |
Default constructor.
|
inline |
Creates and returns a new analysis request object.
|
inlineprotected |
Copies data to the current DTO from an analysis results object.
anres | Analysis results object from which data is copied. |
References IG.Num.AnalysisResults.NumConstraints, IG.Num.AnalysisResults.NumEqualityConstraints, IG.Num.AnalysisResults.NumObjectives, IG.Num.AnalysisResults.NumParameters, IG.Num.AnalysisResults.Parameters, IG.Num.AnalysisResults.ReqConstraintGradients, IG.Num.AnalysisResults.ReqConstraintHessians, IG.Num.AnalysisResults.ReqConstraints, IG.Num.AnalysisResults.ReqObjective, IG.Num.AnalysisResults.ReqObjectiveGradient, and IG.Num.AnalysisResults.ReqObjectiveHessian.
|
inlineprotected |
Copies data from the current DTO to a vector object.
anres | Analysis results object that data is copied to. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
Number of parameters of an optimization problem.
|
getset |
Number of objective functions (usually 1, always less or equal to 1 - since this is not meant for multiobjective optimization).
|
getset |
Number of constraint functions in the optimization problem.
|
getset |
Number of equality constraints.
|
getset |
Vector of parameters at which response functons are requested.
|
getset |
Flag indicating whether calculation of objective function is required or not.
|
getset |
Flag indicating whether calculation of constraint functions is required or not.
|
getset |
Flag indicating whether calculation of objective function gradient is required or not.
|
getset |
Flag indicating whether calculation of constraint function gradients is required or not.
|
getset |
Flag indicating whether calculation of objective function Hessian is required or not.
|
getset |
Flag indicating whether calculation of constraint function Hessians is required or not.