Giter Site home page Giter Site logo

gams-dev / gams-cpp Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 9.82 MB

GAMS C++ API

Home Page: https://www.gams.com/latest/docs/API_CPP_OVERVIEW.html

License: MIT License

C++ 87.61% Shell 0.50% CMake 1.36% Starlark 0.03% HTML 0.05% SCSS 0.07% C 0.73% Python 9.67%
cpp gams optimization

gams-cpp's People

Contributors

0x17 avatar clemensgams avatar jazzco avatar jparnjai avatar lutzwestermann avatar mbussieck avatar mrmontag avatar nefissakhd avatar pandahs avatar renkekuhlmann avatar rgoltermann avatar svigerske avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

olenayavorska

gams-cpp's Issues

Supporting WebAssembly

Hey there!
First off, thanks for your amazing work on the C++ API and GAMS in general!

In the past, we had several issues with reading GDX containers through the higher level APIs (mostly gdxrrw and a missing link to a GAMS installation in R).
As all of these issues were related to software setup (no actual GAMS/GAMS API issues), we had a further look into container solutions (e.g. docker). However, especially when working with students or project partners not too familiar with the matter, setting up theses containers is still cumbersome.

As a possible solution, I was thinking about creating a WebAssembly module for reading GDX containers. In my opinion, there are many benefits from being able to read GDX containers in browsers. It would a very portable solution, and would not require any installation for users who would just like to explore model results or do follow up statistics despite not being modelers themselves. Also, I guess the GAMS MIRO project could benefit from a WebAssembly GDX module as well.

As a start, I tried to compile the xp_example1 to WebAssembly using emscripten. However, as stated in the README of this repo, the C++ API requires the low level APIs provided by the GAMS distribution packages. As these require some dynamic linked libraries (being unsupported by WebAssembly), the conversion failed.

My knowledge about the matter is absolutely limited, so excuse me if any of the questions are stupid:
a) would it be possible to replace the linked libraries with their "original, non-machine code", or is there any other alternative that you know of that I could use?
b) do you have any plans for porting the library to WebAssembly in general?

Best
Christoph

Review API documentation

Review the API documentation to finanlize the wording, code samples, doxygen tags and fix possible typos.

  • GAMSWorkspacePool
  • GAMSWorkspaceInfo
  • GAMSWorkspace
  • GAMSDatabase
  • GAMSDatabaseIter
  • GAMSDomain
  • GAMSDatabaseDomainViolation
  • GAMSJob
  • GAMSCheckpoint
  • GAMSModelInstance
  • GAMSModelInstanceOpt
  • GAMSModifier
  • GAMSSymbol
  • GAMSSymbolIter
  • GAMSSet
  • GAMSSParameter
  • GAMSVariable
  • GAMSEquation
  • GAMSSymbolRecord
  • GAMSSymbolDomainViolation
  • GAMSSetRecord
  • GAMSParameterRecord
  • GAMSEquationRecord
  • GAMSVariableRecord
  • GAMSException
  • GAMSExceptionExecution
  • GAMSOptions
  • GAMSEnum
  • GAMSLog
  • GAMSPlatform
  • GAMSVersion
  • SolverOptions
  • GAMSPath

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.