Scippy

    SCIP

    Solving Constraint Integer Programs

    nlpi_conopt.h
    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-2025 Zuse Institute Berlin (ZIB) */
    7/* */
    8/* Licensed under the Apache License, Version 2.0 (the "License"); */
    9/* you may not use this file except in compliance with the License. */
    10/* You may obtain a copy of the License at */
    11/* */
    12/* http://www.apache.org/licenses/LICENSE-2.0 */
    13/* */
    14/* Unless required by applicable law or agreed to in writing, software */
    15/* distributed under the License is distributed on an "AS IS" BASIS, */
    16/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
    17/* See the License for the specific language governing permissions and */
    18/* limitations under the License. */
    19/* */
    20/* You should have received a copy of the Apache-2.0 license */
    21/* along with SCIP; see the file LICENSE. If not visit scipopt.org. */
    22/* */
    23/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    24
    25/* NLP interface for the CONOPT solver. */
    26
    27/**@file nlpi_conopt.h
    28 * @brief CONOPT NLP interface
    29 * @ingroup NLPIS
    30 * @author Ksenia Bestuzheva
    31 */
    32
    33/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
    34
    35#ifndef __SCIP_NLPI_CONOPT_H__
    36#define __SCIP_NLPI_CONOPT_H__
    37
    38#include "scip/type_nlpi.h"
    39
    40#ifdef __cplusplus
    41extern "C" {
    42#endif
    43
    44/** create solver interface for CONOPT solver and includes it into SCIP
    45 *
    46 * @ingroup NLPIIncludes
    47 */
    49 SCIP* scip /**< SCIP data structure */
    50 );
    51
    52/**@addtogroup NLPIS
    53 *
    54 * @{
    55 */
    56
    57/** sets the license to be passed to CONOPT's COIDEF_License */
    58SCIP_EXPORT
    60 SCIP_NLPI* nlpi, /**< CONOPT NLPI */
    61 int integer_1, /**< CONOPT_LICENSE_INT_1 */
    62 int integer_2, /**< CONOPT_LICENSE_INT_2 */
    63 int integer_3, /**< CONOPT_LICENSE_INT_3 */
    64 const char* text /**< CONOPT_LICENSE_TEXT */
    65 );
    66
    67/** gets string that identifies CONOPT */
    68SCIP_EXPORT
    69const char* SCIPgetSolverNameConopt(
    70 void
    71 );
    72
    73/** gets string that describes CONOPT */
    74SCIP_EXPORT
    75const char* SCIPgetSolverDescConopt(
    76 void
    77 );
    78
    79/** returns whether CONOPT is available, i.e., whether it has been linked in */
    80SCIP_EXPORT
    82 void
    83 );
    84
    85/** @} */
    86
    87#ifdef __cplusplus
    88}
    89#endif
    90
    91#endif /* __SCIP_NLPI_CONOPT_H__ */
    #define SCIP_Bool
    Definition: def.h:91
    SCIP_RETCODE SCIPincludeNlpSolverConopt(SCIP *scip)
    Definition: nlpi_conopt.c:1481
    void SCIPsetLicenseConopt(SCIP_NLPI *nlpi, int integer_1, int integer_2, int integer_3, const char *text)
    Definition: nlpi_conopt.c:1516
    const char * SCIPgetSolverDescConopt(void)
    Definition: nlpi_conopt.c:1548
    SCIP_Bool SCIPisConoptAvailableConopt(void)
    Definition: nlpi_conopt.c:1556
    const char * SCIPgetSolverNameConopt(void)
    Definition: nlpi_conopt.c:1540
    type definitions for NLP solver interfaces
    enum SCIP_Retcode SCIP_RETCODE
    Definition: type_retcode.h:63