Updates Gurobi dependency to v11.0.1

This commit is contained in:
Maximilian Kratz 2024-03-13 10:10:57 +01:00
parent 967f874f8e
commit 71a4bbb90b
8 changed files with 14 additions and 14 deletions

View file

@ -7,7 +7,7 @@
* Install [Temurin JDK17](https://adoptium.net/) or newer.
* Install [GIPS](https://gips.dev) as described [here](https://github.com/Echtzeitsysteme/gips#installation-development) or use the [pre-built Eclipse](https://github.com/Echtzeitsysteme/gips-eclipse-build).
* Install [Gurobi](https://www.gurobi.com/) in version `11.0.0` and activate a license for your computer.
* Install [Gurobi](https://www.gurobi.com/) in version `11.0.1` and activate a license for your computer.
* Currently, Gurobi is the default ILP solver used in **iflye**.
* Install [IBM ILOG CPLEX](https://www.ibm.com/products/ilog-cplex-optimization-studio) in version `22.1.1`.
* CPLEX is an alternative ILP solver in **iflye**. You do not need it explicitely, but if you did not install and configure it properly, at least one test case will fail.
@ -16,9 +16,9 @@
* Additionally, the runtime workspace needs some environment variables to access the Gurobi and the CPLEX solver. Do not forget to adapt them to your individual setup:
```
GRB_LICENSE_FILE=/home/mkratz/gurobi.lic
GUROBI_HOME=/opt/gurobi1100/linux64/
LD_LIBRARY_PATH=/opt/gurobi1100/linux64/lib/
PATH=/opt/gurobi1100/linux64/bin/:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/:$PATH
GUROBI_HOME=/opt/gurobi1101/linux64/
LD_LIBRARY_PATH=/opt/gurobi1101/linux64/lib/
PATH=/opt/gurobi1101/linux64/bin/:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/:$PATH
```
### Project setup (manual)

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="main/java/|test/java/" kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="lib/gurobi/gurobi-11.0.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gurobi/gurobi-javadoc-11.0.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gurobi/gurobi-11.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gurobi/gurobi-javadoc-11.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/cplex/cplex-22.1.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-16">
<attributes>

View file

@ -5,11 +5,11 @@ Bundle-SymbolicName: ilp
Bundle-Version: 0.0.3.qualifier
Bundle-ClassPath: ilp.jar,
lib/cplex/cplex-22.1.1.jar,
lib/gurobi/gurobi-11.0.0.jar,
lib/gurobi/gurobi-javadoc-11.0.0.jar
lib/gurobi/gurobi-11.0.1.jar,
lib/gurobi/gurobi-javadoc-11.0.1.jar
Automatic-Module-Name: ilp
Bundle-RequiredExecutionEnvironment: JavaSE-16
Export-Package: com.gurobi.gurobi;version="11.0.0",
Export-Package: com.gurobi.gurobi;version="11.0.1",
ilog.concert,
ilog.cplex,
ilp.solver.examples,

View file

@ -2,5 +2,5 @@ source.ilp.jar = src/
bin.includes = META-INF/,\
ilp.jar,\
lib/cplex/cplex-22.1.1.jar,\
lib/gurobi/gurobi-11.0.0.jar,\
lib/gurobi/gurobi-javadoc-11.0.0.jar
lib/gurobi/gurobi-11.0.1.jar,\
lib/gurobi/gurobi-javadoc-11.0.1.jar

Binary file not shown.

View file

@ -1,8 +1,8 @@
# Environment variables/config for the program
export GRB_LICENSE_FILE="/home/mkratz/gurobi.lic"
export GUROBI_HOME="/opt/gurobi1100/linux64/"
export LD_LIBRARY_PATH="/opt/gurobi1100/linux64/lib/"
PATH=$PATH:~/opt/gurobi1100/linux64/bin/:~/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/
export GUROBI_HOME="/opt/gurobi1101/linux64/"
export LD_LIBRARY_PATH="/opt/gurobi1101/linux64/lib/"
PATH=$PATH:~/opt/gurobi1101/linux64/bin/:~/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/
# Legacy ENVs used by Cardygan-ILP
#export GUROBI_JAR_PATH="/opt/gurobi811/linux64/lib/gurobi.jar"