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

[Archived] Feature/memory patch #487

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

JasonMarechal25
Copy link
Contributor

No description provided.

@JasonMarechal25 JasonMarechal25 marked this pull request as ready for review July 26, 2022 12:22
@JasonMarechal25 JasonMarechal25 requested review from sgatto, a-zakir and tbittar and removed request for sgatto July 26, 2022 12:22
@JasonMarechal25 JasonMarechal25 added this to the 0.8.0 milestone Jul 26, 2022
Copy link
Contributor

@tbittar tbittar left a comment

Choose a reason for hiding this comment

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

Should we add tests for BendersMPI similarly as for BendersSequential ?

docs/user-guide/get-started/launching-optimization.md Outdated Show resolved Hide resolved
return std::make_shared<SubproblemWorker>(
kvp.second, GetSubproblemPath(kvp.first),
SubproblemWeight(_data.nsubproblem, kvp.first), Options().SOLVER_NAME,
Options().LOG_LEVEL, log_name());
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we use Options() instaed of options_ ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It makes no difference, Options() is just a getter on options_

@@ -103,6 +103,7 @@ class Problem: public SolverAbstract
void set_simplex_iter(int iter) override { solver_abstract_->set_simplex_iter(iter);}
void write_basis(const std::filesystem::path &filename) override { solver_abstract_->write_basis(filename); }
void read_basis(const std::filesystem::path &filename) override { solver_abstract_->read_basis(filename); }
void SetBasis(std::vector<int> rstatus, std::vector<int> cstatus) override { solver_abstract_->SetBasis(rstatus, cstatus); }
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you chose a different formatting in the function name compared to the other functions of the class ? (Because the input data type is different ?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a difficult point.
On one hand we should keep formatting homogeneous in files, on another hand is we don't take the habits to use our chosen format we will never do.

@tbittar tbittar modified the milestones: 0.8.0, 1.0.0 Jul 29, 2022
@tbittar tbittar mentioned this pull request Sep 16, 2022
@JasonMarechal25 JasonMarechal25 removed this from the 1.0.0 milestone Jan 10, 2023
@JasonMarechal25 JasonMarechal25 marked this pull request as draft January 10, 2023 08:16
@JasonMarechal25 JasonMarechal25 changed the title Feature/memory patch [Archived] Feature/memory patch Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants