-
Notifications
You must be signed in to change notification settings - Fork 1
Generalize options #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
eec18a3
generalize solver options and enable support for custom solver path
davide-f e0333e4
Fix typo
davide-f c9768db
Improve options
davide-f 2094c9e
Add release note
davide-f 08e40fd
Add solution configs
davide-f 5d389cc
Update README
davide-f 7502e9c
Improve comments
davide-f 2fd0797
Add Error on fpnetwork and configfile not provided and improve docstr…
davide-f 4720563
Move from shell true to shell false
davide-f d067d4d
Revise OSolCfg TSSB
davide-f d71d4e4
Finalize comments
davide-f 4aa0081
Fix typo
davide-f 3cce19b
Include minor comments
davide-f 6bba3e6
rename TSSBSolver
davide-f e582150
Add solver_dir and test
davide-f bb4927d
Revise testing custom solver path
davide-f 5dc864c
Improve logging and configuration options
davide-f 5d172ba
Improve stability with ending "\" or "/"
davide-f 959aa60
generalize tssb with masked_array
davide-f 6458de7
Account for Sandrine requirement
davide-f File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - OSolCfg.txt - - - - - - - - - - - - - - - - | ||
| # | ||
| # A txt description of a SimpleConfiguration<int> to set the type of the | ||
| # output Solution of the UnitBlock | ||
|
davide-f marked this conversation as resolved.
|
||
| # | ||
| # Antonio Frangioni | ||
| # | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
|
||
| SimpleConfiguration<int> # exact type of the Configuration object | ||
| # the int value is coded bit-wise to specify what is saved: | ||
| 15 # = bit 0 (& 1): the solution of all UnitBlock | ||
| # = bit 1 (& 2): the solution of all NetworkBlock | ||
| # = bit 2 (& 4): the NetworkBlock are in compressed format | ||
| # = bit 3 (& 8): the dual variables of the node injection constraints | ||
|
|
||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - END OSolCfg.txt - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| # Description of available configuration files | ||
|
|
||
| - UCBlock/uc_solverconfig.txt copied from smspp-project/tools/ucblock_solver | ||
| - InvestmentBlock/{BSPar.txt, uc_solverconfig.txt}, copied from smspp-project/InvestmentBlock/test/config | ||
| - UCBlock/{uc_solverconfig.txt, OSolCfg.txt} copied from smspp-project/tools/ucblock_solver. | ||
| - InvestmentBlock/{BSPar.txt, uc_solverconfig.txt}, copied from smspp-project/InvestmentBlock/test/config. | ||
| - TSSBlock/* copied from smspp-project/tools/tssb_solver. | ||
|
|
||
| For uc_solverconfig in both folders, the version using Gurobi is also provided under name uc_solverconfig_grb | ||
| For uc_solverconfig in both folders, the version using Gurobi is also provided under name uc_solverconfig_grb. | ||
|
davide-f marked this conversation as resolved.
|
||
| The template configuration option for OSolCfg.txt allows to extract the most information from tools. | ||
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - OSolCfg.txt - - - - - - - - - - - - - - - - | ||
| # | ||
| # A txt description of a SimpleConfiguration<int> to set the type of the | ||
| # output Solution of the UnitBlock | ||
|
davide-f marked this conversation as resolved.
|
||
| # | ||
| # Antonio Frangioni | ||
| # | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
|
||
| SimpleConfiguration<int> # exact type of the Configuration object | ||
| # the int value is coded bit-wise to specify what is saved: | ||
| 15 # = bit 0 (& 1): the solution of all UnitBlock | ||
| # = bit 1 (& 2): the solution of all NetworkBlock | ||
| # = bit 2 (& 4): the NetworkBlock are in compressed format | ||
| # = bit 3 (& 8): the dual variables of the node injection constraints | ||
|
|
||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - END OSolCfg.txt - - - - - - - - - - - - - - | ||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.