GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GAMS-dev/gams-cpp: GAMS C++ API

BranchesTags
Open more actions menu

Latest commit

 

History

999 Commits
999 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitlab
.gitlab
 
 
ci
ci
 
 
examples
examples
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.secrets.baseline
.secrets.baseline
 
 
CHANGELOG
CHANGELOG
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
include.cmake
include.cmake
 
 
version
version
 
 
version.cmake
version.cmake
 
 

Repository files navigation

gams-cpp

gams-cpp is a C++ API for the General Algebraic Modeling System (GAMS). For further information about GAMS please visit GAMS or the GAMS documentation. gams-cpp uses GoogleTest which is licensed under the Revised BSD License.

How to build

0. Minimum Requirements

  • GAMS 50
  • CMake 3.8
  • any C++17 compiler with std::filesystem support (e.g. GCC 8, MSVC2017 15.7, Apple Clang 11)

1. Download and install GAMS

gams-cpp requires the GAMS low-level APIs. All those files are provided by the GAMS distribution packages, which are available for all major platforms. The installation package for your platform can be obtained from the GAMS download page. After downloading the package please follow the latest GAMS installation instructions.

Note By default GAMS will run in demo mode. Please check the download page for further details.

2. Get the gams-cpp source code

Download the gams-cpp sources from GitHub (via git or as zip archive). All information about the usage of this library can be found within the GAMS C++ API documentation.

3. Building the gams-cpp project

Start Qt Creator or a different IDE of your choice, open the CMakeList.txt file in the root folder and click 'Run CMake'. This generates the file 'gamsinclude.txt' that defines the default location of the GAMS installation location. The path of the 'gamsinclude.txt' file may have to be updated to the correct GAMS installation location on your system.

On Windows the file contains:

GAMS_DISTRIB=C:/GAMS/50

On Unix it will look like:

GAMS_DISTRIB=$$(HOME)/gams/gams50.0_linux_x64_64_sfx

Then perform a 'Build All' operation (Build->Build All) to build the library as well as all examples and tests. Finally, the examples can be executed by triggering Run button or pressing 'Ctrl+R'.

Dependencies and Licenses

Dependency License Description
cpr MIT C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.
googletest BSD-3-Clause Google Testing and Mocking Framework
json MIT JSON for Modern C++

About

GAMS C++ API

www.gams.com/latest/docs/API_CPP_OVERVIEW.html

Topics

cppgamsoptimization

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

6 stars

Watchers

5 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.