Changeset 3249


Ignore:
Timestamp:
Nov 17, 2010 4:34:25 PM (10 years ago)
Author:
jwatson
Message:

Skipping ONE_VAR_CONSTANT variable from GUROBI plugin solution load.

File:
1 edited

Legend:

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

    r3204 r3249  
    257257                        soln_constraints[tokens[1]].value = eval(tokens[2])
    258258                    elif (tokens[0] == 'variable'):
    259                         soln_variables[tokens[1]].value = eval(tokens[2])
     259                       if tokens[1] != "ONE_VAR_CONSTANT":
     260                         soln_variables[tokens[1]].value = eval(tokens[2])
    260261                    else:
    261262                        setattr(soln, tokens[0], tokens[1])
Note: See TracChangeset for help on using the changeset viewer.