Skip to content
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

Use antares in memory with fullrun #892

Open
JasonMarechal25 opened this issue Aug 2, 2024 · 0 comments
Open

Use antares in memory with fullrun #892

JasonMarechal25 opened this issue Aug 2, 2024 · 0 comments

Comments

@JasonMarechal25
Copy link
Contributor

As per #753 using Antares in memory use a step by step workflow, even if "full" method is used.
Instead of using "fullrun" exe it uses "lpnamer" and "benders" exe

JasonMarechal25 added a commit that referenced this issue Sep 13, 2024
Introduce "study mode". A way to run xpansion and problem generation
with a study folder as parameter. In this case Antares will not be run
as a stand-alone but as a library by problem generation.

- New ADRs
- Add a "new" data set for lpnamer E2E tests: SmallTestFiveCandidates, a
copy of the example provided by Xpansion.
- Refactor test_lpnamerEndToEnd.py : when possible prefer the use
multiple @parametrize instead of writing the combinations in a list.
- Refactor test_lpnamerEndToEnd.py : copy the test data in a temporary
folder and works there. Prevent creating outputs in source code.
- Add a test case for Study mode in test_lpnamerEndToEnd.py
- Add a new E2E test: short memory
- Refactor ProblemGenerationExeOptionsTest to test several combinations
of mutually exclusive parameters
- In SolverFactory.cpp call Init() on solver objects before returning
them. Prevent temporal coupling for Xpress solver where a call to init()
was mandatory.
- Add Antares as a build dependency


Missing pieces (every thing is open to discussion):

- [ ] Handle Antares error #888 
- [x] Update general data ini
- [ ] Revert general data ini #889
- [x] Write ADR
- [ ] Update sequence diagram #890
- [ ] Maybe update C4 #890
- [x] Use enum mode in LPFileExtractor #797 
- [ ] find/define a way to log before lp dir exist (for antares error
for exemple) #888
- [ ] Handle variables.txt directly at Lps level
(SignificationMetierDesVariables)
- [ ] Factorise variables name and "calculate" time step with week
number on xpansion side (A faire dans Antares bien et vite)
- [x] Cleanup python to only support memory mode (See ADR, we keep some
support for now)
- [x] antares named problèmes force mps writing. Peut etre pas besoin de
l'option named sachant que les variables sont nommées dans la structure
LP
- [ ] Mettre à jour les docs: notamment comment build, dépendances, etc
#893
- [ ] Investigate to use full run executable with --study option and use
fullrun driver #892
- [x] Handle PBGen step with memory
- [ ] Add entry in multisolver to rename a range of col/var
#753 (comment)
#891
- [ ] Run Antares in parallele mode

Following other PR:

- [ ] Don't overly rename problem in API mode

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: abdoulbari zakir <[email protected]>
Co-authored-by: tbittar <[email protected]>
Co-authored-by: Thomas Bittar <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant