/[ascend]/trunk/ascxx/testipopt.cpp
ViewVC logotype

Diff of /trunk/ascxx/testipopt.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2578 by jpye, Mon Mar 14 22:41:07 2011 UTC revision 2579 by jpye, Wed Mar 14 23:05:32 2012 UTC
# Line 13  int main(void){ Line 13  int main(void){
13      L.load("test/ipopt/" TESTNAME ".a4c");      L.load("test/ipopt/" TESTNAME ".a4c");
14      Type t = L.findType(TESTNAME);      Type t = L.findType(TESTNAME);
15  #undef TESTNAME  #undef TESTNAME
16      Simulation S = t.getSimulation("S");      Simulation S = t.getSimulation("S",1);
17      SolverReporter R;      SolverReporter R;
18      try{      try{
19          S.solve(Solver("IPOPT"),R);          S.solve(Solver("IPOPT"),R);

Legend:
Removed from v.2578  
changed lines
  Added in v.2579

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22