added comments
parent
2b1cc7bf22
commit
6d76b5910c
|
@ -206,7 +206,9 @@ TEST(testSQPSimple, Problem2) {
|
||||||
|
|
||||||
//Instantiate NLP
|
//Instantiate NLP
|
||||||
NLP nlp;
|
NLP nlp;
|
||||||
nlp.cost.add();
|
nlp.cost.add(); // wrap it using linearcontainerfactor
|
||||||
|
nlp.linearEqualities // for constraint it has to inherit from
|
||||||
|
// write an evaluate error and return jacobian
|
||||||
|
|
||||||
// Instantiate SQP
|
// Instantiate SQP
|
||||||
SQPSimple sqpSimple(nlp);
|
SQPSimple sqpSimple(nlp);
|
||||||
|
|
Loading…
Reference in New Issue