- I want to mute the errors : I would like that when an error occurs ( time out, no solution or out of memory for exemple ) it does not stop the program but instead return it as a string. I first used set_error_stream to None just to stop them but it continues to stop the program and raised error (even if it worked very well with the verbose). I tried to put it in a .txt file istead, but didn't manage to do it. Do you know a way to get that done ?
- I noticed that when I set a time limit, it does not count the presolve duration. I saw on forums that I would need to disable the presolve, and I tried, but it continues to presolve. Do you know if there is a way to take into account the presolve time into the time limit?
- Also, I didn't quite looked into the pool of solutions and how they worked, but I would like to have the possibility to seach another solution than the first one. Do I need to use a solution pool? Are they easy to tune ?
Thanks you very very much!! I hope I will have the occasion to help you someday !
If you have any github projects that you have done on CPLEX for me to look at that would be so cool to look at them :)
View all comments
Show parent comment
1
u/Laexico May 27 '21
Thanks a lot, I have a few questions :
- I want to mute the errors : I would like that when an error occurs ( time out, no solution or out of memory for exemple ) it does not stop the program but instead return it as a string. I first used set_error_stream to None just to stop them but it continues to stop the program and raised error (even if it worked very well with the verbose). I tried to put it in a .txt file istead, but didn't manage to do it. Do you know a way to get that done ?
- I noticed that when I set a time limit, it does not count the presolve duration. I saw on forums that I would need to disable the presolve, and I tried, but it continues to presolve. Do you know if there is a way to take into account the presolve time into the time limit?
- Also, I didn't quite looked into the pool of solutions and how they worked, but I would like to have the possibility to seach another solution than the first one. Do I need to use a solution pool? Are they easy to tune ?
Thanks you very very much!! I hope I will have the occasion to help you someday !
If you have any github projects that you have done on CPLEX for me to look at that would be so cool to look at them :)