GET A QUOTE
SEARCH
Products
GAMS - The Modeling Language
GAMS MIRO
GAMS Engine
GAMSPy
Documentation
GAMS
MIRO
Engine
GAMSPy
Academics
Download
GAMS
MIRO
Engine
GAMSPy
Consulting
Support
Community
Sign-up for our Newsletter
Case Studies
The GAMS Forum
Meet us at a Conference
Read our GAMS Blog
Visit a GAMS Webinar
Take a GAMS Course
About Us
Company Information
The GAMS team
Career
Openings
Internships
Advisory Board
Information Security
Search
×
Search
Case sensitive
Match whole word
GAMS Documentation
Model Library
MIRO Documentation
ENGINE Documentation
Website & Blog
All
User's Guide
Solvers
Tools
APIs
Release Notes
All
Model
Test
Data
EMP
API
FIN
NOA
PSOPT
49 (latest)
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25.1
Version:
Documentation
Preface
Release Notes
Installation and Licensing
Tutorials and Examples
GAMS Language and Environment
Solver Manuals
Tools Manuals
Application Programming Interfaces
Glossary
Bibliograhpy
Model Libraries
GAMS Model Library
GAMS Test Library
GAMS Data Library
GAMS EMP Library
GAMS API Library
FIN Library
NOA Library
PSOPT Library
Index
Help
Hide Table of Contents
GAMS Documentation 49
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Loading...
Searching...
No Matches
transport
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
36
class
Transport
37
{
38
public
:
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
99
private
:
101
std::string getModelSource();
102
103
private
:
104
gams::GAMSWorkspace
fws;
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;
111
gams::GAMSOptions
fopt;
112
};
113
114
#endif
// TRANSPORT_H
gams::GAMSCheckpoint
gams::GAMSDatabase
gams::GAMSJob
gams::GAMSParameter
gams::GAMSSet
gams::GAMSVariable
gams::GAMSWorkspace
gams::GAMSOptions