Changeset 3478


Ignore:
Timestamp:
Jan 15, 2011 7:39:45 PM (9 years ago)
Author:
khunter
Message:

NFC: EOL whitespace removal

File:
1 edited

Legend:

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

    r3454 r3478  
    733733         #       explicitly.
    734734         for (variable_name, reference_variable) in stage_variables.items():
    735            
     735
    736736            for tree_node in stage._tree_nodes:
    737737
     
    929929
    930930      # NOTE: the following code has some optimizations that are not normally recommended, in particular
    931       #       the direct access and manipulation of parameters via the .value attribute instead of the 
     931      #       the direct access and manipulation of parameters via the .value attribute instead of the
    932932      #       user-level-preferred value() method. this is justifiable in this particular instance
    933933      #       because we are creating the PH parameters (and therefore can manipulate them safely), and
     
    10051005
    10061006      # NOTE: the following code has some optimizations that are not normally recommended, in particular
    1007       #       the direct access and manipulation of parameters via the .value attribute instead of the 
     1007      #       the direct access and manipulation of parameters via the .value attribute instead of the
    10081008      #       user-level-preferred value() method. this is justifiable in this particular instance
    10091009      #       because we are creating the PH parameters (and therefore can manipulate them safely), and
     
    12871287         # IMPT: for efficiency purposes, the PH objective formation calls above create expression trees by
    12881288         #       evaluating the parameters involved in either quadratic or linear expressions directly, e.g.,
    1289          #       via value(). as a consequence, if the user modifies PH weights or rhos in the plugin 
     1289         #       via value(). as a consequence, if the user modifies PH weights or rhos in the plugin
    12901290         #       callback below, it will *not* be propagated to the objective expression.
    12911291
     
    13801380      # populate the scenario tree solution from the instances - to ensure consistent state
    13811381      # across the scenario tree instance and the scenario instances.
    1382       self._scenario_tree.snapshotSolutionFromInstances(self._instances)     
     1382      self._scenario_tree.snapshotSolutionFromInstances(self._instances)
    13831383
    13841384      print "Final variable values:"
     
    14591459               for tree_node in stage._tree_nodes:
    14601460
    1461                   variable_indices = tree_node._variable_indices[variable_name]               
     1461                  variable_indices = tree_node._variable_indices[variable_name]
    14621462
    14631463                  for index in variable_indices:
Note: See TracChangeset for help on using the changeset viewer.