Loading...
Searching...
No Matches
transport.h
Go to the documentation of this file.
1
26#ifndef TRANSPORT_H
27#define TRANSPORT_H
28
29#include "gams.h"
30
31#include <ostream>
32#include <string>
33
36class Transport
37{
38public:
40 Transport(gams::GAMSWorkspace ws);
41
43 void run(gams::GAMSCheckpoint checkpoint, std::ostream &output);
44
46 gams::GAMSSet i() const
47 {
48 return fi;
49 }
50
52 gams::GAMSSet j() const
53 {
54 return fj;
55 }
56
58 gams::GAMSParameter a() const
59 {
60 return fa;
61 }
62
64 gams::GAMSParameter b() const
65 {
66 return fb;
67 }
68
70 gams::GAMSParameter d() const
71 {
72 return fd;
73 }
74
76 gams::GAMSParameter f() const
77 {
78 return ff;
79 }
80
82 gams::GAMSVariable x() const
83 {
84 return fx;
85 }
86
88 gams::GAMSVariable z() const
89 {
90 return fz;
91 }
92
94 gams::GAMSOptions opt() const
95 {
96 return fopt;
97 }
98
99private:
101 std::string getModelSource();
102
103private:
105 gams::GAMSDatabase fDbIn1, fDbIn2, fDbOut1;
106 gams::GAMSJob job;
107
108 gams::GAMSSet fi, fj;
109 gams::GAMSParameter fa, fb, fd, ff;
110 gams::GAMSVariable fx, fz;
112};
113
114#endif // TRANSPORT_H