Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Building and running the example
To build and run the example, please refer to the files in
<installdir>/examples/build
. For Windows platforms, this
directory contains runjava.bat
, a simple script to compile and
run a java example. Say runjava Mip1
to run this example.
For Linux or Mac OS platforms, the <installdir>/examples/build
directory contains an example Makefile. Typing make Mip1
will
build and run this example.
The Java example directory <installdir>/examples/java
contains
a number of examples. We encourage you to browse and modify them in
order to become more familiar with the Gurobi Java interface. We
also encourage you to read the
Gurobi Example Tour
for more information.