Changeset 4905
 Timestamp:
 09/15/11 08:53:09 (3 years ago)
 Location:
 coopr.plugins/trunk/coopr/plugins/tests/mip
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

coopr.plugins/trunk/coopr/plugins/tests/mip/test_ipopt.py
r4887 r4905 109 109 results = self.asl.solve(currdir+"sisser.pyomo.nl", logfile=currdir+"test_solve_from_nl.log") 110 110 results.write(filename=currdir+"test_solve_from_nl.txt",times=False) 111 self.assert FileEqualsBaseline(currdir+"test_solve_from_nl.txt", currdir+"test_solve_from_nl.baseline")111 self.assertMatchesYamlBaseline(currdir+"test_solve_from_nl.txt", currdir+"test_solve_from_nl.baseline") 112 112 113 113 @unittest.skipIf(not ipopt_available, "The 'ipopt' executable is not available") … … 116 116 results = self.asl.solve(self.sisser_instance) 117 117 results.write(filename=currdir+"test_solve_from_instance.txt",times=False) 118 self.assert FileEqualsBaseline(currdir+"test_solve_from_instance.txt", currdir+"test_solve_from_instance.baseline")118 self.assertMatchesYamlBaseline(currdir+"test_solve_from_instance.txt", currdir+"test_solve_from_instance.baseline") 119 119 self.sisser_instance.load(results) 120 120 
coopr.plugins/trunk/coopr/plugins/tests/mip/test_solve_from_instance.baseline
r4877 r4905 19 19 Solver: 20 20  Status: ok 21 Message: Ipopt 3.9.3\x3a Optimal Solution Found 22 Termination condition: OPTIMAL SOLUTION FOUND! 21 Termination condition: optimal 23 22 Id: 0 24 23 Error rc: 0 … … 30 29  number of solutions: 1 31 30 number of solutions displayed: 1 32  Status: OPTIMAL SOLUTION FOUND! 33 Message: Ipopt 3.9.3\x3a Optimal Solution Found 31  Status: optimal 34 32 Variable: 35 33 v0: 36 Id: 037 34 Value: 0.000741168592849 38 35 v1: 39 Id: 140 36 Value: 0.000365046337016 
coopr.plugins/trunk/coopr/plugins/tests/mip/test_solve_from_nl.baseline
r4877 r4905 20 20  Status: ok 21 21 Message: Ipopt 3.9.3\x3a Optimal Solution Found 22 Termination condition: OPTIMAL SOLUTION FOUND!22 Termination condition: optimal 23 23 Id: 0 24 24 Error rc: 0 … … 30 30  number of solutions: 1 31 31 number of solutions displayed: 1 32  Status: OPTIMAL SOLUTION FOUND!32  Status: optimal 33 33 Message: Ipopt 3.9.3\x3a Optimal Solution Found 34 34 Variable:
Note: See TracChangeset
for help on using the changeset viewer.