-
Notifications
You must be signed in to change notification settings - Fork 25
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
Named MPS - fix duplicated "ranged" binding constraints #1569
Conversation
Kudos, SonarCloud Quality Gate passed! |
This reverts commit 102583d.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you added "_gt" and "_lt" suffixes to constraints name in Loader. Does it create any change in MPS produced?
src/libs/antares/study/binding_constraint/BindingConstraintsRepository.cpp
Outdated
Show resolved
Hide resolved
absolutely! instead of having 2 constraints with the same name. |
Just naming, no difference of results? Any difference in the order of apparition of constraints in the mps files? |
that's what i was saying in the daily for days, in named constraints ('gt' and 'lt'), the order matters! |
see broken tests list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it necessary to take _lt
/_gt
suffixes into account when comparing binding constraints by name ?
without this dev the comparison ret = ConstraintName("Bc_lt)" < ConstraintName("Bc_gt") = false, also ConstraintName("BcNOT_FROM_THE-SAME_RANGED_lt)" < ConstraintName("Bc_gt") =false |
LGTM @a-zakir Please revert YML files. |
This reverts commit 837e6f5.
Kudos, SonarCloud Quality Gate passed! |
* fix: bc opBoth -->2 contraints * update & disable "mps" test * force run ALL tests * run ub ci * split name & ID * separate Id & series filename * Revert "separate Id & series filename" This reverts commit 102583d. * fix bc comparison * workflows: pick up develop version * test updated simtest * refactor bc comparison * disable named-mps until ref are regenerated * back to original * small changes * update function's doc * plural * X=X * tidy * Revert "disable named-mps until ref are regenerated" This reverts commit 837e6f5.
TODO
053 System Map Editor - 1
061 Four areas - Grid outages 05
055 System Map Editor - 3
060 Four areas - Grid outages 04
077 KCG on regional dataset 02
078 KCG on regional dataset 03
see Antares_Simulator_Tests_NR/pull/9
#close #1562