transport6.cpp File Reference

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

#include "gams.h"
#include <vector>
#include <iostream>
#include <thread>
#include <mutex>

Go to the source code of this file.

Functions

void runScenario (GAMSWorkspace *ws, const GAMSCheckpoint &cp, mutex *ioMutex, double b)
 Run the job with a different scenario.
 
string getModelText ()
 Get model as string.
 

Detailed Description

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

Here we show:

  • How to run multiple GAMSJobs in parallel using a GAMSCheckpoint

Definition in file transport6.cpp.