Skip to Main Content
Introduction to Computational Modeling Using C and Open-Source Tools
book

Introduction to Computational Modeling Using C and Open-Source Tools

by Jose M. Garrido
November 2013
Intermediate to advanced content levelIntermediate to advanced
461 pages
12h 1m
English
CRC Press
Content preview from Introduction to Computational Modeling Using C and Open-Source Tools
362 Introduction to Computational Modeling
FIGURE 24.2: Graph of airline routes to Rio.
The problem can be formulated directly as a standard transportation problem,
using the data in Table 24.1 and Figure 24.2.
Let x
i j
denote the number of flights from node i to node j, and c
i j
the capacity
between nodes i and j. This problem has one supply point (source) and one demand
point (destination). The objective function can be written by observing that the max-
imum flow from node 1 to node 5 is actually the flow from node 1 to node 2, which
is represented by the variable x
12
. The objective function is then to maximize the
expression: z = x12.
To simplify the formulation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal

Publisher Resources

ISBN: 9781482216783