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 119 of file investment.cpp.
RootNode::RootNode | ( | const int | nmbAssets, | |
const double | initWealth | |||
) | [inline] |
Definition at line 123 of file investment.cpp.
References StageNode::a, StageNode::all_constraints, StageNode::all_variables, StageNode::ASSETS, initialBudget, StageNode::pt_balance_constraint, 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 138 of file investment.cpp.
References StageNode::make_obj_function_().
Referenced by main().
MP_constraint RootNode::initialBudget |