Gurobi package in powershell
回答済みHi everyone,
I'm executing a java program in powershell which uses gurobi package. When I execute it in Eclipse it works just fine but when I execute it in powershell, it does not recognize the code where I import the gurobi packages like this one: "import com.gurobi.gurobi.GRB;".
Can I have some help here, please?
Thank for the assistance on this.
0
-
Hi Jacquelin,
Assuming you have the installation at C:\gurobi1101\... the following should work to run our Mip1 example
javac -classpath .;C:\gurobi1101\win64\lib\gurobi.jar C:\gurobi1101\win64\examples\java\Mip1.java
java -cp .;C:\gurobi1101\win64\lib\gurobi.jar C:\gurobi1101\win64\examples\java\Mip1Can you let me know if this works for you?
- Riley
0
サインインしてコメントを残してください。
コメント
1件のコメント