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

Diff of /trunk/test.py

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

revision 1736 by jpye, Sun Jan 6 03:42:21 2008 UTC revision 1737 by jpye, Thu Feb 7 23:58:06 2008 UTC
# Line 1375  class TestIPOPT(Ascend): Line 1375  class TestIPOPT(Ascend):
1375      def test1(self):      def test1(self):
1376          self.L.load('test/ipopt/test1.a4c')          self.L.load('test/ipopt/test1.a4c')
1377          M = self.L.findType('test1').getSimulation('sim')          M = self.L.findType('test1').getSimulation('sim')
1378            M.setSolver(ascpy.Solver("IPOPT"))
1379          M.setParameter('hessian_approximation','limited-memory')          M.setParameter('hessian_approximation','limited-memory')
1380          M.solve(ascpy.Solver("IPOPT"),ascpy.SolverReporter())          M.solve(ascpy.Solver("IPOPT"),ascpy.SolverReporter())
1381    

Legend:
Removed from v.1736  
changed lines
  Added in v.1737

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