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) | |
Constructor. More... | |
virtual | ~Subproblem () |
Destructor. More... | |
const Point & | getFixedVariable () const |
std::shared_ptr< PbParameters > | getPbParams () const |
Private Member Functions | |
void | init () |
Helper for constructor calls to ::setupProblemParameters. More... | |
void | setupProblemParameters () |
Helper for constructor. More... | |
Private Attributes | |
const Point | _fixedVariable |
The elements of this point that have defined values are fixed value "variables". The elements that are undefined are for true variables. More... | |
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 23 of file Subproblem.hpp.
|
inlineexplicit |
Constructor.
Pb parameters will be recomputed as dimension has changed.
Definition at line 44 of file Subproblem.hpp.
|
virtual |
Destructor.
|
inline |
Definition at line 57 of file Subproblem.hpp.
|
inline |
Definition at line 58 of file Subproblem.hpp.
|
private |
Helper for constructor calls to ::setupProblemParameters.
|
private |
Helper for constructor.
Construct the subproblem parameters (X0, LB, UB, mesh sizes, ...) based on Subproblem::_fixedVariable
|
private |
Dimension of the subproblem.
Definition at line 27 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.
Definition at line 26 of file Subproblem.hpp.
|
private |
Reference to the original problem's PbParameters.
Definition at line 32 of file Subproblem.hpp.
|
private |
PbParameters converted to subdimension
Definition at line 37 of file Subproblem.hpp.