gams-dev / gams-cpp Goto Github PK
View Code? Open in Web Editor NEWGAMS C++ API
Home Page: https://www.gams.com/latest/docs/API_CPP_OVERVIEW.html
License: MIT License
GAMS C++ API
Home Page: https://www.gams.com/latest/docs/API_CPP_OVERVIEW.html
License: MIT License
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 the API documentation to finanlize the wording, code samples, doxygen tags and fix possible typos.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.