TransportSeq.Transport Class Reference

Wrapper class for GAMS trnsport model More...

Pulic Methods

 Transport (GAMSWorkspace ws)
 A Transportation Problem More...
 
void Run (GAMSCheckpoint checkpoint=null, TextWriter output=null)
 Executes the trnsport model More...
 

Properties

GAMSSet i [get]
 i(i): canning plants More...
 
GAMSSet j [get]
 j(j): markets More...
 
GAMSParameter a [get]
 a(i): capacity of plant i in cases More...
 
GAMSParameter b [get]
 b(i): demand at market j in cases More...
 
GAMSParameter d [get]
 d(i,j): distance in thousands of miles More...
 
GAMSParameter f [get]
 f: freight in dollars per case per thousand miles More...
 
GAMSVariable x [get]
 x(i,j): shipment quantities in cases More...
 
GAMSVariable z [get]
 z: total transportation costs in thousands of dollars More...
 
GAMSOptions opt [get]
 Options for the execution of the trnsport model More...
 

Detailed Description

Wrapper class for GAMS trnsport model

Definition at line 13 of file TransportClass.cs.

Constructors

◆ Transport()

TransportSeq.Transport.Transport ( GAMSWorkspace  ws)
inline

A Transportation Problem

Definition at line 83 of file TransportClass.cs.

Methods

◆ Run()

void TransportSeq.Transport.Run ( GAMSCheckpoint  checkpoint = null,
TextWriter  output = null 
)
inline

Executes the trnsport model

Definition at line 108 of file TransportClass.cs.

Property Documentation

◆ a

GAMSParameter TransportSeq.Transport.a
get

a(i): capacity of plant i in cases

Definition at line 139 of file TransportClass.cs.

◆ b

GAMSParameter TransportSeq.Transport.b
get

b(i): demand at market j in cases

Definition at line 145 of file TransportClass.cs.

◆ d

GAMSParameter TransportSeq.Transport.d
get

d(i,j): distance in thousands of miles

Definition at line 151 of file TransportClass.cs.

◆ f

GAMSParameter TransportSeq.Transport.f
get

f: freight in dollars per case per thousand miles

Definition at line 157 of file TransportClass.cs.

◆ i

GAMSSet TransportSeq.Transport.i
get

i(i): canning plants

Definition at line 127 of file TransportClass.cs.

◆ j

GAMSSet TransportSeq.Transport.j
get

j(j): markets

Definition at line 133 of file TransportClass.cs.

◆ opt

GAMSOptions TransportSeq.Transport.opt
get

Options for the execution of the trnsport model

Definition at line 178 of file TransportClass.cs.

◆ x

GAMSVariable TransportSeq.Transport.x
get

x(i,j): shipment quantities in cases

Definition at line 165 of file TransportClass.cs.

◆ z

GAMSVariable TransportSeq.Transport.z
get

z: total transportation costs in thousands of dollars

Definition at line 171 of file TransportClass.cs.