Changeset 3277


Ignore:
Timestamp:
Dec 3, 2010 9:25:03 PM (10 years ago)
Author:
jwatson
Message:

Fixing issue with CPLEX direct interface - logic for deregistration was not valid if the import of the cplex python module failed.

File:
1 edited

Legend:

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

    r3095 r3277  
    790790
    791791
    792 if cplex_import_available:
    793     OptSolverFactory().deactivate('cplexdirect')
    794     OptSolverFactory().deactivate('_mock_cplexdirect')
    795 
     792if cplex_import_available is False:
     793   SolverFactory().deactivate('cplexdirect')
     794   SolverFactory().deactivate('_mock_cplexdirect')
     795
Note: See TracChangeset for help on using the changeset viewer.