transport4.cpp File Reference

This is the 4th model in a series of tutorial examples. More...

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

Go to the source code of this file.

Functions

string getModelText ()
 Get model as string.
 

Detailed Description

This is the 4th model in a series of tutorial examples.

Here we show:

  • How to define data using C++ data structures
  • How to prepare a GAMSDatabase from C++ data structures

Definition in file transport4.cpp.