Abstract ConstructorΒΆ
In Demonstration of rapper Capabilities we provide a series of examples intended to show different things that can be done with rapper and the constructor is shown for a ConcreteModel. The same capabilities are available for an AbstractModel but the construction of the rapper object is different as shown here.
Import for constructor:
>>> import pysp.util.rapper as rapper
The next line constructs the rapper object that can be used to emulate runph or runef.
>>> stsolver = rapper.StochSolver(ReferencePath,
... fsfct = None,
... tree_model = scenariodirPath,
... phopts = None)