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

Implement latest CSR comments #825

Conversation

Milos-RTEi
Copy link
Collaborator

Implementation of RTE comments on CSR dev solution.
Issue 66 on RTEi repository.

flomnes and others added 25 commits July 15, 2022 09:36
…/fix/execution-info-format

Clarify execution-info.ini file
…/feature/cxx-17

Bump to CXX 17 from CXX 11
…#820)

* execution_info.ini : add OR-Tools used & solver

* PR remarks
…#793)

* Fix wrong number of cores + code de-duplication

* PR remarks + small refactor (template)
Copy link
Member

@flomnes flomnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge branch develop (there should be no conflicts) + apply minor remarks

Comment on lines 63 to 64
void solveCSR(Variable::State& state, uint numSpace, uint week);
private:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
void solveCSR(Variable::State& state, uint numSpace, uint week);
private:
private:
void solveCSR(Variable::State& state, uint numSpace, uint week);

Comment on lines 192 to 193
std::unique_ptr<PROBLEME_POINT_INTERIEUR> Probleme
= buildInteriorPointProblem(ProblemeAResoudre);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std::unique_ptr<PROBLEME_POINT_INTERIEUR> Probleme
= buildInteriorPointProblem(ProblemeAResoudre);
auto Probleme
= buildInteriorPointProblem(ProblemeAResoudre);

@@ -505,8 +505,6 @@ struct AdequacyPatchParameters
float ThresholdDisplayLocalMatchingRuleViolations;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use double for ThresholdInitiateCurtailmentSharingRule and ThresholdDisplayLocalMatchingRuleViolations

{
std::unique_ptr<PROBLEME_POINT_INTERIEUR> Probleme(new PROBLEME_POINT_INTERIEUR());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std::unique_ptr<PROBLEME_POINT_INTERIEUR> Probleme(new PROBLEME_POINT_INTERIEUR());
auto Probleme = std::make_unique<PROBLEME_POINT_INTERIEUR>();

You need to merge branch develop for that, since it contains #779. This feature is only available from C++17.

Copy link
Member

@flomnes flomnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove saveIntermediateResults ?

@flomnes flomnes merged commit d49872e into AntaresSimulatorTeam:feature/do-not-merge-csr-generate-executables Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants