Build an end-to-end test that fails if Xpansion uses the wrong MPS file
Opened this issue · 0 comments
tbittar commented
In the economy
mode of Antares, two MPS files for each subproblem are generated corresponding to the two successive linear optimizations that are done in Simulator.
Xpansion uses the MPS file of the first optimization for its needs, but changes in Xpansion or Simulator code could introduce bugs where the wrong MPS file is used.
Maybe, we should build a study for which the MPS file of the 1st ad 2nd optimization are different, such that it fails if the wrong MPS is used by Xpansion.
Such a study should necessarily use uc-type = expansion_fast
in settings.ini
(as in the expansion_accurate
mode, only one MPS is generated by Antares)