Changeset 2853


Ignore:
Timestamp:
Jul 26, 2010 12:17:28 AM (9 years ago)
Author:
jwatson
Message:

Adding solution infeasible status to CPLEX plugin - Pyomo will now indicate status correctly.

File:
1 edited

Legend:

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

    r2659 r2853  
    488488                            del results.problem.lower_bound
    489489                    mip_problem=True
     490                elif solution_status in ["infeasible"]:
     491                    soln.status = SolutionStatus.infeasible
     492                    soln.gap = None
    490493            elif tokens[0].startswith("MIPNodes"):
    491494                if mip_problem:
Note: See TracChangeset for help on using the changeset viewer.