If Gurobi is not installed or the version is not sufficient, second time Options -> Set Up Solver clicked the following error is thrown:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class gurobi.GurobiJni
at gurobi.GRBEnv.(GRBEnv.java:16)
at gurobi.GRBEnv.(GRBEnv.java:11)
at edu.rutgers.MOST.optimization.solvers.GurobiSolver.isGurobiLinked(GurobiSolver.java:54)
at edu.rutgers.MOST.presentation.GraphicalInterface$84.actionPerformed(GraphicalInterface.java:2208)
(I didn't copy the rest of the error message, the important part is here.)
The error is from this line:
GRBEnv env = new GRBEnv();
in the public static boolean isGurobiLinked() method.
First click works fine. To duplicate conditions, uninstall Gurobi. Then either do not reinstall at all or install and old version like 5.0.2
If Gurobi is not installed or the version is not sufficient, second time Options -> Set Up Solver clicked the following error is thrown:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class gurobi.GurobiJni at gurobi.GRBEnv.(GRBEnv.java:16)
at gurobi.GRBEnv.(GRBEnv.java:11)
at edu.rutgers.MOST.optimization.solvers.GurobiSolver.isGurobiLinked(GurobiSolver.java:54)
at edu.rutgers.MOST.presentation.GraphicalInterface$84.actionPerformed(GraphicalInterface.java:2208)
(I didn't copy the rest of the error message, the important part is here.)
The error is from this line:
GRBEnv env = new GRBEnv();
in the public static boolean isGurobiLinked() method.
First click works fine. To duplicate conditions, uninstall Gurobi. Then either do not reinstall at all or install and old version like 5.0.2