Changeset 2380


Ignore:
Timestamp:
Feb 19, 2010 5:45:40 PM (10 years ago)
Author:
wehart
Message:

Augmenting parser to collect statistics for # of branch/bound nodes.

Location:
coopr.plugins/trunk/coopr/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coopr.plugins/trunk/coopr/plugins/mip/GLPK.py

    r2336 r2380  
    164164          elif len(tokens) > 2 and tokens[0] == "INTEGER" and tokens[1] == "OPTIMAL":
    165165             soln.status = SolutionStatus.optimal
     166             results.solver.statistics.branch_and_bound.number_of_created_subproblems = 0
     167             results.solver.statistics.branch_and_bound.number_of_bounded_subproblems = 0
    166168          elif len(tokens) > 2 and tokens[0] == "TIME" and tokens[2] == "EXCEEDED;":
    167169             soln.status = SolutionStatus.stoppedByLimit
  • coopr.plugins/trunk/coopr/plugins/tests/mip/test_glpk.py

    r2348 r2380  
    102102            results.write(filename=currdir+"test_solve4.txt",times=False)
    103103            self.failUnlessFileEqualsBaseline(currdir+"test_solve4.txt", currdir+"test4_glpk.txt")
    104             os.remove(currdir+"test4.soln")
     104            #os.remove(currdir+"test4.soln")
    105105            os.remove(currdir+"test_solve4.log")
    106106        else:
Note: See TracChangeset for help on using the changeset viewer.