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

Manage multithreads logs #1764

Closed
wants to merge 30 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
78790e6
set multi threads log dir
a-zakir Nov 12, 2023
151dedd
[skip ci] will not work thank u @guilpier-code
a-zakir Nov 16, 2023
6da7fde
fstream-->ostream ptr
a-zakir Nov 16, 2023
d0697c4
[skip ci] move streams creation
a-zakir Nov 16, 2023
b6e4720
dirty
a-zakir Nov 16, 2023
1586ab5
[skip] better
a-zakir Nov 16, 2023
81ef7b0
suggestion by @flomnes
a-zakir Nov 16, 2023
c935389
direct call
a-zakir Nov 17, 2023
b2a612a
delete deprecated method
a-zakir Nov 17, 2023
2775642
[skip ci] set field width for incoming msg
a-zakir Nov 17, 2023
a69f2df
test SiriusCallback
a-zakir Nov 17, 2023
9756b55
Merge branch 'feature/multi-threads-solver-logs' of https://github.co…
a-zakir Nov 17, 2023
5769816
[skip ci] fix
a-zakir Nov 17, 2023
8c615ae
test Sirius callback: ok
a-zakir Nov 17, 2023
c8d8f82
adaptation for COIN solvers
a-zakir Nov 23, 2023
1535d8c
bug
a-zakir Nov 23, 2023
b1dce69
set log files per thread
a-zakir Nov 23, 2023
30853d1
tmp Revert "bug"
a-zakir Nov 23, 2023
9d1db92
Merge branch 'feature/multi-threads-solver-logs' of https://github.co…
a-zakir Nov 23, 2023
df4a671
copy log files
a-zakir Nov 23, 2023
3a24ba1
remove &
a-zakir Nov 23, 2023
14b1150
fix
a-zakir Nov 23, 2023
00926bc
ok
a-zakir Nov 23, 2023
0a44ba7
clean&clear
a-zakir Nov 23, 2023
568e8f0
update log handler
a-zakir Dec 11, 2023
ae4c29f
update log handler (#1793)
a-zakir Dec 14, 2023
9f44c53
Merge branch 'feature/multi-threads-solver-logs' of https://github.co…
a-zakir Dec 15, 2023
f1cb6aa
remove old code & update
a-zakir Dec 15, 2023
e63468c
use numSpace and thread number
a-zakir Dec 19, 2023
becdf7f
update & fix
a-zakir Dec 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
set multi threads log dir
a-zakir committed Nov 12, 2023
commit 78790e62489fd2e92bd5f7a2a5e43ed21b71471e
4 changes: 4 additions & 0 deletions src/solver/utils/ortools_utils.cpp
Original file line number Diff line number Diff line change
@@ -58,6 +58,10 @@ MPSolver* ProblemSimplexeNommeConverter::Convert()
if (problemeSimplexe_->SolverLogs())
{
solver->EnableOutput();
// TODO won't work in ci, needs ortools update
// see https://github.com/rte-france/or-tools/pull/112
// std::filesystem::path log_file = logs.logfile().c_str();
// solver->set_solver_logs_directory(log_file.parent_path());
}

return solver;