How to use Couenne with GAMS 33  FAQ

Frequently asked questions about GAMS

Moderator: aileen

Forum rules
Please ask questions in the other sub-forums
Locked
abhosekar
Moderator
Moderator
Posts: 54
Joined: 2 months ago

How to use Couenne with GAMS 33  FAQ

Post by abhosekar » 4 weeks ago

The solver Couenne has been removed from the GAMS system.

For the time being, libraries of GAMS/Couenne are available at the COIN-OR GAMSlinks https://github.com/coin-or/GAMSlinks/releases. All instructions below make use of gamsconfig.yaml file. This file can be stored at "Configuration Directories". This can be several locations https://www.gams.com/latest/docs/UG_STA ... TIONS.html

The instructions to use Couenne on different platforms are as follows:

Linux:
1) Download https://github.com/coin-or/GAMSlinks/re ... ux.tar.bz2 and unpack in some directory (e.g. /usr/local/share/GAMS)
2) Create (or add to) gamsconfig.yaml (this can be in several locations, see "Configuration Directories" at https://www.gams.com/latest/docs/UG_STA ... TDLOC_UNIX) with the following section:

Code: Select all

solverConfig:
 - couenne:
     minVersion: 33
     fileType: 11
     dictType: 0
     licCodes: 000102030405
     scriptName: gmsgenus.run
     executableName: gmsgenux.out
     library:
        libName: /usr/local/share/GAMS/GAMSlinks-linux/libGamsCouenne.so
        auditCode: cou
        solverInterfaceType: 1
        threadSafeIndic: False
     modelTypes:
        - NLP
        - CNS
        - DNLP
        - RMINLP
        - MINLP
        - QCP
        - MIQCP
        - RMIQCP
Windows
1) Download https://github.com/coin-or/GAMSlinks/re ... ux.tar.bz2 and unpack in some directory (e.g. C:\couenne)
2) Create (or add to) gamsconfig.yaml (this can be in several locations, see "Configuration Directories" at https://www.gams.com/latest/docs/UG_STA ... STDLOC_WIN) with the following section:

Code: Select all

environmentVariables:
- PATH:
    value: C:\couenne\GAMSlinks-windows
    minVersion: 33
    pathVariable: True
solverConfig:
- couenne:
    minVersion: 33
    fileType: 11
    dictType: 0
    licCodes: 000102030405
    scriptName: gmsgennt.cmd
    executableName: gmsgennx.exe
    library:
      libName: C:\couenne\GAMSlinks-windows\GamsCouenne-0.dll
      auditCode: cou
      solverInterfaceType: 1
      threadSafeIndic: False
    modelTypes:
    - NLP
    - CNS
    - DNLP
    - RMINLP
    - MINLP
    - QCP
    - MIQCP
    - RMIQCP
Mac OS X
1) Download https://github.com/coin-or/GAMSlinks/re ... ux.tar.bz2 and unpack in some directory (e.g. /Users/name/tmp33)
2) Create (or add to) gamsconfig.yaml (this can be in several locations, see "Configuration Directories" at https://www.gams.com/latest/docs/UG_STA ... STDLOC_MAC) with the following section:

Code: Select all

solverConfig:
 - couenne:
     minVersion: 33
     fileType: 11
     dictType: 0
     licCodes: 000102030405
     scriptName: gmsgenus.run
     executableName: gmsgenux.out
     library:
        libName: /Users/name/tmp33/GAMSlinks-macos/libGamsCouenne.dylib
        auditCode: cou
        solverInterfaceType: 1
        threadSafeIndic: False
     modelTypes:
        - NLP
        - CNS
        - DNLP
        - RMINLP
        - MINLP
        - QCP
        - MIQCP
        - RMIQCP

Locked