gemseo /
formulationsShow inherited members
bilevel_test_helper module
Provide base test class stub for testing bilevel also for GEMSEO plugins.
-
gemseo.formulations.bilevel_test_helper.create_sobieski_bilevel_scenario(scenario_formulation='BiLevel')[source]
Create a function to generate a Sobieski Scenario.
- Parameters:
scenario_formulation (str) –
The name of the formulation of the scenario.
By default it is set to “BiLevel”.
- Returns:
A function which generates a Sobieski scenario with specific options.
- Return type:
Callable[[dict[str, float]], MDOScenario]