Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
examples
MIPSolver
doc
xternal_mipsolver.c
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the program and library */
4
/* SCIP --- Solving Constraint Integer Programs */
5
/* */
6
/* Copyright (C) 2002-2017 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SCIP is distributed under the terms of the ZIB Academic License. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License */
12
/* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
/**@file xternal_mipsolver.c
17
* @brief main documentation page of the MIP solver example
18
* @author Timo Berthold
19
*/
20
21
/*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22
23
/**@page MIPSOLVER_MAIN example C++ project using SCIP as a MIP solver
24
* @version 0.1
25
* @author Tobias Achterberg
26
*
27
* This very basic example illustrates how to integrate SCIP into your C++ source code. The SCIP header files are
28
* included from the directory which is denoted by SCIPDIR in the Makefile. If your SCIP headers are installed somewhere
29
* else, just change this link. Since this example is written in C++, objscip/objscip.h is included at the beginning of
30
* cppmain.cpp. It includes scip.h (which you would include when using SCIP as callable library in a C
31
* program). The main function shows how the SCIP_RETCODE can be caught and handled. In runSCIP(), you see how a SCIP
32
* instance is created and freed, plus a few more things. Here, the SCIP_RETCODEs are not checked explicitly but handled
33
* by the SCIP_CALL macro. Please also note the CallableLibrary example for nonlinear problems.
34
*/
35