ScenarioCreator

(class from pyomo.contrib.parmest.scenariocreator)

class pyomo.contrib.parmest.scenariocreator.ScenarioCreator(pest, solvername)[source]

Bases: object

Create scenarios from parmest.

Parameters:
  • pest (Estimator) – the parmest object

  • solvername (str) – name of the solver (e.g. “ipopt”)

__init__(pest, solvername)[source]

Methods

ScenariosFromBootstrap(addtoSet, numtomake)

Creates new self.Scenarios list using the experiments only.

ScenariosFromExperiments(addtoSet)

Creates new self.Scenarios list using the experiments only.

__init__(pest, solvername)

Member Documentation

ScenariosFromBootstrap(addtoSet, numtomake, seed=None)[source]

Creates new self.Scenarios list using the experiments only.

Parameters:
  • addtoSet (ScenarioSet) – the scenarios will be added to this set

  • numtomake (int) – number of scenarios to create

ScenariosFromExperiments(addtoSet)[source]

Creates new self.Scenarios list using the experiments only.

Parameters:

addtoSet (ScenarioSet) – the scenarios will be added to this set

Returns:

a ScenarioSet