-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name constraints & variables in MPS files (#1294)
* add ConstraintBuilder class * Revert "add ConstraintBuilder class" This reverts commit a85cd78. * begin pblm vars renaming * add separator after zone * send vars names to mps writers * init var name with empty string * rename DefaillancePositive variable * Rename PalierThermique variables * update Cout* vars * avoid already named variables * work on constraints * begin constraints naming & quick refacto * fix duplicated separator * update zone, link and timestep identifiers * continuing on constraints * process constraints with no ts * add MaxPompage Constraint * update MaxPompage name * Check on Area name * update "couts_demarrage" constraints name * translate into English * get area names from problemHebdo instead of study * translate var names into english * update ThermalCluster variables * get & store Thermal Clusters name * update short termes storage cnt * delete commented code * on new code style * avoiding malloc/free * delete unused constants * try fix: test failure * fix cluster number * roll back set week number =0 * fix weekly bc * undo auto-format * small changes * export short term storage name to opt * rename short terme sto vars and others * Update src/solver/optimisation/opt_appel_solveur_lineaire.cpp Co-authored-by: Florian Omnès <[email protected]> * add thermal cluster variants names * fix * update FinalStockExpression cnt * updates * unify thermal cluster variable format * same as thermal cluster vars * move implementation details * rename zone-->area * check area's name * remove commented code * move area name check to a suitable place * rename function * fix * remove double check * refacto * update deps version * lightening variable namer calls * clean code * fix daily bc ts * fix merge issue * remove redundant variable * pr reviews * try-> use new instead of malloc * updates * remove duplicated code * remove vars name from cnt builders * move variable namer * tmp changes * cherry-pick a676e48..3fd0d5d * fix flow dissociation cnt * update * avoid double naming for link vars * merge * [DEV] Fix valgrind errors * add option for naming * --named-problems works for constraints * --named-problems works for variables * check name * clean area updates * remove unnecessary area updates * rename struct enums * remove enums * shared ptr as ref * add name so ShortTerm Sto Cnt * shorten shortTerm st name var/cnt * remove empty methods * update * rename struct * rename vars * refacto utilities classes * remove unnecessary check * rename members vars * remove free function declaration * unsigned --> unsigned int * Update src/solver/misc/options.cpp change option name Co-authored-by: Florian Omnès <[email protected]> * fix duplicated contraints name * push header * Avoid leaking char** from Sirius for variable & constraint names (#1399) * Avoid leaking char** from Sirius for variable & constraint names * Update antares-deps submodule * Remove unused private members * contraintNamer do naming before it created * Simplify TargetVectorUpdater, keep same behavior (#1403) Remove std::function, std::bind * vector index: change int-> unsigned int * smell code * delete unused vars * smell code... * delete unused var * remove unused var * remove unused var * smell code * fix minors smell code * unsigned/signed smell codes --------- Co-authored-by: Florian Omnès <[email protected]> Co-authored-by: Vincent Payet <[email protected]>
- Loading branch information
1 parent
c515839
commit ccb2749
Showing
27 changed files
with
783 additions
and
333 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"antares_deps_version": "2.0.2a" | ||
"antares_deps_version": "2.0.2b" | ||
} |
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
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
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
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.