Public Member Functions | |
RootNode (const int nmbAssets, const double initWealth) | |
void | make_objective_function () |
This is the public interface to the protected make_obj_function_() . | |
Public Attributes | |
MP_constraint | initialBudget |
initial budget constraint |
Definition at line 77 of file investment.cpp.
RootNode::RootNode | ( | const int | nmbAssets, | |
const double | initWealth | |||
) | [inline] |
Definition at line 81 of file investment.cpp.
References StageNode::ASSETS, initialBudget, and StageNode::x.
void RootNode::make_objective_function | ( | ) | [inline] |
This is the public interface to the protected make_obj_function_()
.
This is to prevent the user to call make_obj_function_()
for other nodes than the root, which does not make sense.
Definition at line 90 of file investment.cpp.
References StageNode::make_obj_function_().
Referenced by main().
MP_constraint RootNode::initialBudget |