Skip to content
Snippets Groups Projects
Commit 08fe4876 authored by Daniel Khashabi's avatar Daniel Khashabi
Browse files

add two methods to GurobiHook.

parent 4846cc9f
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<groupId>edu.illinois.cs.cogcomp</groupId> <groupId>edu.illinois.cs.cogcomp</groupId>
<artifactId>illinois-inference</artifactId> <artifactId>illinois-inference</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>0.8.0</version> <version>0.8.1</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
...@@ -462,6 +462,13 @@ public class GurobiHook implements ILPSolver { ...@@ -462,6 +462,13 @@ public class GurobiHook implements ILPSolver {
return 0.0; return 0.0;
} }
public int getVariableSize() {
return variables.size();
}
public OVector getVariables() {
return variables;
}
/** /**
* When the problem has been solved, use this method to retrieve the value of the objective * When the problem has been solved, use this method to retrieve the value of the objective
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment