source: coopr.pysp/trunk/coopr/pysp/ @ 3104

Last change on this file since 3104 was 2990, checked in by jwatson, 11 years ago

Added option to PySP scripts to allow for output of the scenario tree solutions in CSV file format. Option is This also required some overdue refactoring of the PySP code, plus re-work of how the post-PH extensive form solution is displayed.

File size: 745 bytes
1#  _________________________________________________________________________
3#  Coopr: A COmmon Optimization Python Repository
4#  Copyright (c) 2010 Sandia Corporation.
5#  This software is distributed under the BSD License.
6#  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7#  the U.S. Government retains certain rights in this software.
8#  For more information, see the Coopr README.txt file.
9#  _________________________________________________________________________
11__all__ = ['ISolutionWriterExtension']
13from pyutilib.component.core import *
15class ISolutionWriterExtension(Interface):
17    def write(self, scenario_tree, output_file_prefix):
18        """ Called with a ScenarioTree type object."""
19        pass
Note: See TracBrowser for help on using the repository browser.