Try our new documentation site (beta).
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 C_examples_2008.sln
,
C_examples_2010.sln
, and C_examples_2012.sln
(Visual Studio 2008, 2010, and 2012 solution files for the C examples).
Double-clicking on the solution file will
bring up Visual Studio. Clicking on the mip1_c
project, and then
selecting Run from the Build menu will compile and run
the example. For Linux or Mac OS platforms, the
<installdir>/examples/build
directory contains an example
Makefile. Typing make mip1_c
will build and run this
example.
The C example directory <installdir>/examples/c
contains a
number of examples. We encourage you to browse and modify them in
order to become more familiar with the Gurobi C interface. We
also encourage you to read the
Gurobi Example Tour
for more information.