My optimization fails after certain model size (only occurs in Docker).

18 views
Skip to first unread message

s.vanho...@gmail.com

unread,
Jun 24, 2020, 4:58:15 AM6/24/20
to OPTANO Modeling
My optimization fails after certain model size (only occurs in Docker).

Steps to reproduce:
1. create a .NET Core Console App
2. add OPTANO Modeling + Optano Gurobi (latest)
3. run a model >= 2688 variables with Docker --> FAILS
4. run the same model without Docker --> SUCCEEDS
5. scale down the model to about 768 variables and run with Docker --> SUCCEEDS

* These exact variable numbers are numbers I used in my tests
* All tests excluded any constraints and only contained some variables and a simple objective

The following screenshots display the model & solution data on both tests with Docker enabled:
Succeeds
Correct.PNG

Fails
Incorrect.PNG



OPTANO Team

unread,
Jun 24, 2020, 5:15:48 AM6/24/20
to OPTANO Modeling
Hi,

Looks like Gurobi is missing a valid license.
OPTANO Modeling ships with a size limit license for Gurobi and switches back to this license, if no other license is found.


please check the console output for
Could not find a valid Gurobi license. Not using size-limited license due to Configuration value

You might change the default behavior by setting LimitedLicenseUsage in the Solver Config.

Best,
jp
Reply all
Reply to author
Forward
0 new messages