Skip to content

Commit 792135d

Browse files
author
danyaljj
committed
moving some solvers from lbjava to the inference package.
1 parent a0b97f5 commit 792135d

15 files changed

Lines changed: 735 additions & 1706 deletions

File tree

inference/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Illinois Inference
2+
3+
This project is a suite of unified wrappers to a set optimization libraries, as well as some basic approximate solvers:
4+
5+
- Gurobi: one of the fastest commercial toolkits. You need to have a license for using this.
6+
- ojAlgo: Open Source optimization tool.
7+
- Beam search: a heuristic search algorithm that explores a graph by expanding the most promising node in a limited set.
8+
9+
10+
## Using Gurobi
11+
12+
To download and install Gurobi visit [http://www.gurobi.com/](http://www.gurobi.com/)
13+
14+
Make sure to include Gurobi in your PATH and LD_LIBRARY variables
15+
```
16+
export GUROBI_HOME="PATH-TO-GUROBI/linux64"
17+
export PATH="${PATH}:${GUROBI_HOME}/bin"
18+
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
19+
```

inference/pom.xml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44

5+
<parent>
6+
<artifactId>lbjava-project</artifactId>
7+
<groupId>edu.illinois.cs.cogcomp</groupId>
8+
<version>1.2.20</version>
9+
</parent>
10+
511
<modelVersion>4.0.0</modelVersion>
6-
<groupId>edu.illinois.cs.cogcomp</groupId>
7-
<artifactId>inference</artifactId>
12+
<artifactId>illinois-inference</artifactId>
813
<packaging>jar</packaging>
9-
<version>0.5.0</version>
10-
1114

1215
<properties>
1316
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1417
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1518
</properties>
1619

17-
1820
<repositories>
1921
<repository>
2022
<id>CogcompSoftware</id>
@@ -23,39 +25,33 @@
2325
</repository>
2426
</repositories>
2527

26-
2728
<dependencies>
2829
<dependency>
2930
<groupId>junit</groupId>
3031
<artifactId>junit</artifactId>
3132
<version>4.12</version>
3233
</dependency>
33-
3434
<dependency>
3535
<groupId>org.slf4j</groupId>
3636
<artifactId>slf4j-api</artifactId>
3737
<version>1.7.12</version>
3838
</dependency>
39-
4039
<dependency>
41-
<groupId>com.gurobi</groupId>
40+
<groupId>gurobi</groupId>
4241
<artifactId>gurobi</artifactId>
43-
<version>6.5</version>
42+
<version>5.0.1</version>
4443
<optional>true</optional>
4544
</dependency>
46-
4745
<dependency>
4846
<groupId>net.sf.jgrapht</groupId>
4947
<artifactId>jgrapht</artifactId>
5048
<version>0.8.3</version>
5149
</dependency>
52-
5350
<dependency>
5451
<groupId>edu.illinois.cs.cogcomp</groupId>
5552
<artifactId>illinois-core-utilities</artifactId>
56-
<version>3.0.27</version>
53+
<version>3.0.50</version>
5754
</dependency>
58-
5955
<dependency>
6056
<groupId>edu.illinois.cs.cogcomp</groupId>
6157
<artifactId>illinois-sl-core</artifactId>
@@ -67,7 +63,6 @@
6763
</exclusion>
6864
</exclusions>
6965
</dependency>
70-
7166
<dependency>
7267
<groupId>org.ojalgo</groupId>
7368
<artifactId>ojalgo</artifactId>
@@ -122,5 +117,4 @@
122117
</repository>
123118
</distributionManagement>
124119

125-
126120
</project>

0 commit comments

Comments
 (0)