Hi Hugues,
Thanks for your answer.
Yes, I never thought about that. Effectively, there are many versions of COS on the computer, and the $PATH variable causes this behavior.
Simply adding "./" before "oplrun" or using the complete path to oplrun of COS 22.1.1 solves this problem.
Many thanks!
------------------------------
Duc Anh LE
------------------------------
Original Message:
Sent: Tue June 13, 2023 11:49 AM
From: Hugues Juille
Subject: Same model and data file but different number of constraints using oplrun and IDE
Hello Duc Anh,
This behavior is rather unexpected !
Do you have multiple installations of COS on your machine ?
I performed a quick sanity check on my machine with COS 22.1.1, and I confirm that I get exactly the same logs in the IDE or with oplrun, using a sample RCPSP problem.
One needs to make sure that the same binaries are involved in your case.
May be there are some issues with environment variables that may explain this behavior.
I hope this helps.
Best regards,
------------------------------
Hugues Juille
------------------------------