Skip to content

Commit

Permalink
Improved directed search tutorial (#194)
Browse files Browse the repository at this point in the history
Building on #193, this substantially expands the directed search tutorial with improved discussion on convergence, seed analysis, and robust optimization. In addition, various links to relevant literature have been added.
  • Loading branch information
quaquel authored Oct 25, 2022
1 parent 54ba5e6 commit 76dcc45
Show file tree
Hide file tree
Showing 10 changed files with 456 additions and 163 deletions.
Binary file added docs/source/indepth_tutorial/archives/0.tar.gz
Binary file not shown.
Binary file added docs/source/indepth_tutorial/archives/1.tar.gz
Binary file not shown.
Binary file added docs/source/indepth_tutorial/archives/2.tar.gz
Binary file not shown.
Binary file added docs/source/indepth_tutorial/archives/3.tar.gz
Binary file not shown.
Binary file added docs/source/indepth_tutorial/archives/4.tar.gz
Binary file not shown.
Binary file not shown.
607 changes: 447 additions & 160 deletions docs/source/indepth_tutorial/directed-search.ipynb

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions ema_workbench/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,23 @@
optimize,
ScalarOutcome,
TimeSeriesOutcome,
ArrayOutcome,
Constraint,
Constant,
Scenario,
Policy,
MultiprocessingEvaluator,
IpyparallelEvaluator,
SequentialEvaluator,
ReplicatorModel,
Constraint,
ArrayOutcome,
Samplers,
OutputSpaceExploration,
HypervolumeMetric,
GenerationalDistanceMetric,
EpsilonIndicatorMetric,
InvertedGenerationalDistanceMetric,
SpacingMetric,
epsilon_nondominated,
)
from .util import save_results, load_results, ema_logging, EMAError, process_replications

Expand Down
Binary file added ema_workbench/examples/data/archives.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion ema_workbench/examples/lake_model_intertemporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def lake_problem(
ScalarOutcome("reliability", kind=ScalarOutcome.MAXIMIZE, expected_range=(0, 1)),
]

convergence_metrics = [HyperVolume.from_outcomes(lake_model.outcomes), EpsilonProgress()]
convergence_metrics = [EpsilonProgress()]

constraints = [
Constraint("max pollution", outcome_names="max_P", function=lambda x: max(0, x - 5))
Expand Down

0 comments on commit 76dcc45

Please sign in to comment.