Ignore:
Timestamp:
Jun 16, 2010 5:10:50 PM (11 years ago)
Author:
jwatson
Message:

Fix to runef involving the same issue as in the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/ef_writer_script.py

    r2466 r2669  
    161161      if ef_solver is None:
    162162         raise ValueError, "Failed to create solver manager of type="+options.solver_type+" for use in extensive form solve"
     163
     164      # at this point you have a specific solver - communicate solver capabilities
     165      # to the writer via the instance.
     166      binding_instance.has_capability = ef_solver.has_capability
     167      for scenario_name, scenario_instance in scenario_instances.items():
     168         scenario_instance.has_capability = ef_solver.has_capability
    163169
    164170      print "Queuing extensive form solve"
Note: See TracChangeset for help on using the changeset viewer.