industrial-optimization-group / DESDEO

An open source framework for interactive multiobjective optimization methods
https://desdeo.it.jyu.fi
29 stars 22 forks source link

Make gurobipy optional #96

Open light-weaver opened 5 months ago

light-weaver commented 5 months ago
gurobipy = "^11.0.1"  # TODO: Make gurobipy optional

https://github.com/industrial-optimization-group/DESDEO/blob/e741b18deb14ce4224be6d2f5733fba7494d648e/pyproject.toml#L45

light-weaver commented 5 months ago

gurobipy is very strongly associated with many of the core files. Doing this will be a pain, but possible. Make all gurobipy imports optional, raise errors when needed.