32 using namespace ifopt;
43 std::cout << nlp.
GetOptVariables()->GetValues().transpose() << std::endl;
void AddCostSet(CostTerm::Ptr cost_set)
void AddConstraintSet(ConstraintSet::Ptr constraint_set)
void AddVariableSet(VariableSet::Ptr variable_set)
Composite::Ptr GetOptVariables() const
static void Solve(Problem &nlp)
Creates an IpoptAdapter and solves the NLP.