1/* BEGIN LICENSE BLOCK
2 * Version: CMPL 1.1
3 *
4 * The contents of this file are subject to the Cisco-style Mozilla Public
5 * License Version 1.1 (the "License"); you may not use this file except
6 * in compliance with the License.  You may obtain a copy of the License
7 * at www.eclipse-clp.org/license.
8 *
9 * Software distributed under the License is distributed on an "AS IS"
10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
11 * the License for the specific language governing rights and limitations
12 * under the License.
13 *
14 * The Original Code is  The ECLiPSe Constraint Logic Programming System.
15 * The Initial Developer of the Original Code is  Cisco Systems, Inc.
16 * Portions created by the Initial Developer are
17 * Copyright (C) 1999-2011 Cisco Systems, Inc.  All Rights Reserved.
18 *
19 * Contributor(s): Kish Shen
20 *
21 * END LICENSE BLOCK */
22/*
23 *
24 * System:	ECLiPSe Constraint Logic Programming System
25 * Author/s:	Kish Shen
26 * Version:	$Id: coinplex_params.h,v 1.1 2012/07/31 02:17:06 jschimpf Exp $
27 *
28 */
29
30
31/* This file defines informations specific to parameters for solvers using
32   the COIN OSI interface. It is needed by eplex_params.h, and coinplex.cpp
33*/
34
35#ifdef COIN_USE_CLP
36
37/* Solver dependent parameters - these define the positions in the arrays
38   that maps to the corresponding actual paramters of the solver
39   (e.g. cbc_iparam[] and cbc_dparam[]) in coinplex.cpp
40*/
41#define SolverMaxNumNode		0
42#define SolverMaxNumSol			1
43#define NumSolverMipIntParams           2 /* end marker */
44
45#define SolverIntegerTolerance		0
46#define SolverAllowableGap		1
47#define SolverAllowableFractionGap	2
48#define SolverCutoffIncrement		3
49#define SolverInfeasibilityWeight       4
50#define SolverHeuristicGap              5
51#define SolverHeuristicFractionGap      6
52#define NumSolverMipDblParams           7 /* end marker */
53
54#define SolverLPPresolveTolerance       7
55#define NumSolverLpDblParams            1 /* end marker (-NumSolverMipDblParams) */
56
57/* eplex parameters for Clp/Cbc */
58
59/* string params */
60#define EpxClpParam_bar_ordering     0
61#define EpxClpParam_ns               1  /* end marker */
62/* int params */
63#define EpxClpParam_print_freq       0
64#define EpxClpParam_loglevel	     1
65#define EpxClpParam_mip_lploglevel   2
66#define EpxClpParam_doKKT	     3
67#define EpxClpParam_ni               4  /* end marker */
68
69#endif
70