/[ascend]/trunk/test.py
ViewVC logotype

Diff of /trunk/test.py

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

revision 1791 by jpye, Wed Feb 27 05:40:40 2008 UTC revision 1792 by jpye, Fri Jun 20 06:44:52 2008 UTC
# Line 1377  class TestIPOPT(Ascend): Line 1377  class TestIPOPT(Ascend):
1377          self.L.load('test/ipopt/test1.a4c')          self.L.load('test/ipopt/test1.a4c')
1378          M = self.L.findType('test1').getSimulation('sim')          M = self.L.findType('test1').getSimulation('sim')
1379          M.setSolver(ascpy.Solver("IPOPT"))          M.setSolver(ascpy.Solver("IPOPT"))
1380            M.setParameter('linear_solver','mumps')
1381          M.setParameter('hessian_approximation','limited-memory')          M.setParameter('hessian_approximation','limited-memory')
1382          M.solve(ascpy.Solver("IPOPT"),ascpy.SolverReporter())          M.solve(ascpy.Solver("IPOPT"),ascpy.SolverReporter())
1383    

Legend:
Removed from v.1791  
changed lines
  Added in v.1792

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