Ignore:
Timestamp:
Nov 20, 2009 5:27:31 PM (10 years ago)
Author:
wehart
Message:

Rework of the SolverResults? object, to provide for a more explicit
definition of solver results, and to support loading of
solver results from YAML-formated data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.opt/trunk/coopr/opt/tests/colin/test_parallel.py

    r1794 r1918  
    131131        self.ps.reset()
    132132        results = self.ps.solve(logfile=currdir+"test_solve1.log")
    133         results.write(currdir+"test_solve1.txt",times=False)
     133        results.write(filename=currdir+"test_solve1.txt",times=False)
    134134        self.failUnlessFileEqualsBaseline(currdir+"test_solve1.txt", currdir+"test1_ps.txt")
    135135        if os.path.exists(currdir+"test_solve1.log"):
     
    144144        mngr = coopr.opt.parallel.SolverManagerFactory("serial")
    145145        results = mngr.solve(opt=self.ps, logfile=currdir+"test_solve2.log")
    146         results.write(currdir+"test_solve2.txt",times=False)
     146        results.write(filename=currdir+"test_solve2.txt",times=False)
    147147        self.failUnlessFileEqualsBaseline(currdir+"test_solve2.txt", currdir+"test1_ps.txt")
    148148        if os.path.exists(currdir+"test_solve2.log"):
     
    216216        mngr = SolverManager_DelayedSerial()
    217217        results = mngr.solve(opt=self.ps, logfile=currdir+"test_solve4.log")
    218         results.write(currdir+"test_solve4.txt",times=False)
     218        results.write(filename=currdir+"test_solve4.txt",times=False)
    219219        self.failUnlessFileEqualsBaseline(currdir+"test_solve4.txt", currdir+
    220220"test1_ps.txt")
Note: See TracChangeset for help on using the changeset viewer.