Changeset 4350


Ignore:
Timestamp:
07/09/11 20:02:49 (3 years ago)
Author:
dlwoodr
Message:

add "converged" to the fix discrete at exit option name

File:
1 edited

Legend:

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

    r4244 r4350  
    196196        # is 0, at which point you really do have a solution. currently only applies 
    197197        # to discrete variables. 
    198         self.fix_discrete_variables_at_exit = False 
     198        self.fix_converged_discrete_variables_at_exit = False 
    199199 
    200200        # set up the mipgap parameters (zero means ignore) 
     
    688688    def post_ph_execution(self, ph): 
    689689 
    690         if self.fix_discrete_variables_at_exit is True: 
     690        if self.fix_converged_discrete_variables_at_exit is True: 
    691691            print "WW PH extension: Fixing all discrete variables that are converged at termination" 
    692692            self._fix_all_converged_discrete_variables(ph) 
Note: See TracChangeset for help on using the changeset viewer.