Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inference
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CogComp
inference
Commits
08fe4876
There was a problem fetching the pipeline summary.
Commit
08fe4876
authored
8 years ago
by
Daniel Khashabi
Browse files
Options
Downloads
Patches
Plain Diff
add two methods to GurobiHook.
parent
4846cc9f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pom.xml
+1
-1
1 addition, 1 deletion
pom.xml
src/main/java/edu/illinois/cs/cogcomp/infer/ilp/GurobiHook.java
+7
-0
7 additions, 0 deletions
...in/java/edu/illinois/cs/cogcomp/infer/ilp/GurobiHook.java
with
8 additions
and
1 deletion
pom.xml
+
1
−
1
View file @
08fe4876
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/edu/illinois/cs/cogcomp/infer/ilp/GurobiHook.java
+
7
−
0
View file @
08fe4876
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment