-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added and tested support for scenario-based problems.
Objectives, constraints, extra functions, and scalarization functions now have an optional "scenario_keys" field, which indicated the scenario(s) they belong to. The Problem model has also a new method "scenario" that when called with a scenario key, will return a new problem with just that scenario's functions. The Problem has also the field "scenario_keys" which lists all the defined scenarios. Implemented also a simple scenario-based test problem and tested the new functionalities.
- Loading branch information
Showing
4 changed files
with
361 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.