-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: develop
Are you sure you want to change the base?
Conversation
b63c61d
to
1a5faa3
Compare
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.
Should we add tests for BendersMPI similarly as for BendersSequential ?
return std::make_shared<SubproblemWorker>( | ||
kvp.second, GetSubproblemPath(kvp.first), | ||
SubproblemWeight(_data.nsubproblem, kvp.first), Options().SOLVER_NAME, | ||
Options().LOG_LEVEL, log_name()); |
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 do we use Options()
instaed of options_
?
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.
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); } |
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 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 ?)
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.
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.
bccd3a1
to
a743998
Compare
No description provided.