NOMAD Source
Version 4.0.0 Beta
|
Class to define an optimization subproblem. More...
#include <Subproblem.hpp>
Public Member Functions | |
Subproblem (const std::shared_ptr< PbParameters > refPbParams, const Point &fullFixedVariable) | |
Constructor. More... | |
virtual | ~Subproblem () |
Destructor. More... | |
const Point & | getFixedVariable () const |
const std::shared_ptr< PbParameters > & | getPbParams () const |
Private Member Functions | |
void | init () |
Helper for constructor calls to Subproblem::setupProblemParameters. More... | |
void | setupProblemParameters () |
Helper for constructor. More... | |
void | resetVariableGroupsAgainstFixedVariables (ListOfVariableGroup &lvg, const Point &fixedVar) const |
Helper for setupProblemParameters() More... | |
Private Attributes | |
const Point | _fixedVariable |
size_t | _dimension |
Dimension of the subproblem. More... | |
const std::shared_ptr< PbParameters > | _refPbParams |
std::shared_ptr< PbParameters > | _subPbParams |
Class to define an optimization subproblem.
Subproblem of lesser dimension than the original problem
Definition at line 68 of file Subproblem.hpp.
|
inlineexplicit |
Constructor.
Pb parameters will be recomputed as dimension has changed.
Definition at line 94 of file Subproblem.hpp.
|
virtual |
Destructor.
|
inline |
Definition at line 109 of file Subproblem.hpp.
|
inline |
Definition at line 110 of file Subproblem.hpp.
|
private |
Helper for constructor calls to Subproblem::setupProblemParameters.
|
private |
Helper for setupProblemParameters()
|
private |
Helper for constructor.
Construct the subproblem parameters (X0, LB, UB, mesh sizes, variable groups...) based on Subproblem::_fixedVariable
|
private |
Dimension of the subproblem.
Definition at line 77 of file Subproblem.hpp.
|
private |
The elements of this point that have defined values are fixed value "variables". The elements that are undefined are for true variables. This Point is always in full dimension.
Definition at line 76 of file Subproblem.hpp.
|
private |
Reference to the original problem's PbParameters.
Definition at line 82 of file Subproblem.hpp.
|
private |
PbParameters converted to subdimension
Definition at line 87 of file Subproblem.hpp.