Loading...
Searching...
No Matches
transportGDX.cpp File Reference

This example shows the use of the GAMSDatabase class for reading and writing GDX files. More...

#include "gams.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <cstdlib>

Go to the source code of this file.

Detailed Description

This example shows the use of the GAMSDatabase class for reading and writing GDX files.

Here we show:

  • How to fill a GAMSDatabase from C++ data structures and export it to a GDX file
  • How to import a GDX file as a GAMSDatabase

Definition in file transportGDX.cpp.