(Ebook) Business Optimization Using Mathematical Programming: An Introduction with Case Studies and Solutions in Various Algebraic Modeling Languages ... Research & Management Science, 307) by Josef Kallrath ISBN 9783030732363, 3030732363 - The ebook with all chapters is available with just one click
(Ebook) Business Optimization Using Mathematical Programming: An Introduction with Case Studies and Solutions in Various Algebraic Modeling Languages ... Research & Management Science, 307) by Josef Kallrath ISBN 9783030732363, 3030732363 - The ebook with all chapters is available with just one click
com
OR CLICK BUTTON
DOWLOAD EBOOK
(Ebook) Introduction to Management Science A Modeling and Case Studies Approach with
Spreadsheets by Frederick Hillier ISBN 9781265040055, 1265040052
https://ebooknice.com/product/introduction-to-management-science-a-modeling-and-
case-studies-approach-with-spreadsheets-49113838
ebooknice.com
(Ebook) Biota Grow 2C gather 2C cook by Loucas, Jason; Viles, James ISBN
9781459699816, 9781743365571, 9781925268492, 1459699815, 1743365578, 1925268497
https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374
ebooknice.com
https://ebooknice.com/product/introduction-to-management-science-a-modeling-and-
case-studies-approach-with-spreadsheets-10953826
ebooknice.com
https://ebooknice.com/product/introduction-to-management-science-a-modeling-and-
case-studies-approach-with-spreadsheets-28404354
ebooknice.com
(Ebook) Introduction to Management Science: A Modeling and Case Studies Approach
with Spreadsheets 3rd Ed by Frederick S. Hillier ISBN 9780073129037, 0073129038
https://ebooknice.com/product/introduction-to-management-science-a-modeling-and-
case-studies-approach-with-spreadsheets-3rd-ed-2030074
ebooknice.com
https://ebooknice.com/product/introduction-to-management-science-a-modeling-and-
case-studies-approach-with-spreadsheets-57858332
ebooknice.com
https://ebooknice.com/product/fundamentals-of-algebraic-modeling-an-
introduction-to-mathematical-modeling-with-algebra-and-statistics-2330222
ebooknice.com
(Ebook) Learning and Researching with Case Studies: A Student Companion for Business
and Management Research by Scott Andrews ISBN 9781032386324, 1032386320
https://ebooknice.com/product/learning-and-researching-with-case-studies-a-
student-companion-for-business-and-management-research-51087140
ebooknice.com
https://ebooknice.com/product/introduction-to-internet-of-things-in-management-
science-and-operations-research-implemented-studies-international-series-in-
operations-research-management-science-311-34834248
ebooknice.com
International Series in
Operations Research & Management Science
Josef Kallrath
Business Optimization
Using Mathematical
Programming
An Introduction with Case Studies and
Solutions in Various Algebraic Modeling
Languages
Second Edition
International Series in Operations Research
& Management Science
Founding Editor
Frederick S. Hillier
Stanford University, Stanford, CA, USA
Volume 307
Series Editor
Camille C. Price
Department of Computer Science, Stephen F. Austin State University,
Nacogdoches, TX, USA
Associate Editor
Joe Zhu
Foisie Business School, Worcester Polytechnic Institute, Worcester, MA, USA
More information about this series at http://www.springer.com/series/6161
Josef Kallrath
Second Edition
Josef Kallrath
Department of Astronomy
University of Florida
Gainesville, FL, USA
This Springer imprint is published by the registered company Springer Nature Switzerland AG.
The registered company address is: Gewerbestrasse 11, 6330 Cham, Switzerland
Dedication (2nd Edition)
1 Josef Kallrath.
2 John M. Wilson.
Foreword
ix
x Foreword
book, the reader gets a convincing report on the practical relevance of contemporary
mathematical optimization.
As a coordinating editor of the European Journal of Operational Research
(EJOR) since 20 years, I can say that the character of this book is perfectly consistent
with our editorial policy, in the sense that, similarly to EJOR, it underlines the link
between the state-of-the-art methodology of optimization with practice of decision-
making. Thus, I am pleased to congratulate Josef Kallrath on the excellent update of
the first edition, and I am confidently recommending this book to students, teachers,
researchers, and industrial practitioners who wish to learn how to effectively cope
with complex decision problems using mathematical optimization.
xi
xii Preface to the 2nd Edition
Department of Mathematical Modeling and Optimal Design, Kharkiv, Ukraine and Kharkiv
National University of Radioelectronics, Department of Applied Mathematics.
Preface to the 2nd Edition xiii
In the first edition, a few larger case studies had been analyzed and solved with
XPRESS-MP, the predecessor of what is now FICO Xpress Mosel and FICO
Xpress Optimization, or Xpress in short. We have kept the text from the
first edition in this second edition and continue referring to this modeling and solver
XPRESS-MP from the 1990s in this context. We proceed similarly for currencies
as well as the hardware or software equipment used. The real-world case studies
from the 1990s remain unchanged. As XPRESS-MP and its modeling language
mp-model use integer indices but not index sets, the first edition and its case
studies are formulated using numerical indices. In this second edition, we leave
the case studies untouched but use index sets in all material added. The formerly
large MILP problems from 20 years ago have become toy examples for commercial
solvers in 2020 — and the spreadsheet software LOTUS-1-2-3 does not seem
to be in use any longer. This should serve as a good warning and advise for the
future. Only ASCII data has a reasonably long lifetime. Everything else strongly
depends on market changes. The lifetime of software seems to be very limited —
and even if the software still exists, backward compatibility is not guaranteed either.
Fortunately, the first edition has been written in LATEX, and is retained, largely, in
the second edition.
Overall, we hope that the reader benefits from this second edition in various
ways: providing a path to efficient modeling, and learning what is relevant nowa-
days, and which problems can be handled efficiently concerning mixed integer
optimization and non-convex nonlinear optimization. If the reader has fun on the
way reading this book, all the better.
Acknowledgment
It is a pleasure to again thank some friends and colleagues who have accompanied
me for many years in my work or private environment and who in various ways
have directly or indirectly contributed to the success of this book. This applies
to everyone who has already been mentioned in the acknowledgment of the first
edition. Between 1997 and 2020, I established close relationships or friendships
with many new collaboration partners. These are, especially, Dr. Franz Nelißen
and Dr. Michael Bussieck (GAMS Software GmbH, Frechen and Braunschweig,
Germany), Prof. Dr. Christoudoulos A. Floudas (Princeton University, Princeton,
xiv Preface to the 2nd Edition
NJ, USA),4 and Prof. Dr. Panos M. Pardalos (Center of Applied Optimization,
University of Florida, Gainesville, FL). The contacts from my leadership of the
GOR working group Praxis der Mathematischen Optimierung have also contributed
indirectly to this expanded second edition.
A special word of thanks is directed to all the (new) project partners during
the last 20 years: I have cherished many of them because of their enthusiasm and
their in-depth knowledge of their application areas — and I have all of them in
good memory. They all had in common that, for improving the benefits of their
company, they wanted to enhance their methods in their applications areas by
thorough mathematical modeling, which often led to mixed integer optimization.
Interacting and communicating with them has been an important element during
the projects and has some influence on this book. From the many German BASF
project partners who have contributed indirectly to this book over several years, I
would like to mention a few: Dr. Wolfram Schmidt and his team with Dr. Markus
Klumpe and Bernd Heisel-Hoffmann, Norbert Vormbrock with a common history
at Bonn University, and Dr. Gerd Fischer with his exciting rail car projects. It has
been a pleasure to work with such people who feel the need to understand and solve
a problem as deeply and as thoroughly as possible. High quality and sustainable
solutions require deep understanding, dedication to detail, and the will to solve a
problem on one’s own initiative. I strongly hope that the project partners mentioned
above will still have sufficient time left for focusing deeply on their projects and that
they can enjoy their work.
For a thorough examination and proofreading of the manuscript as well as
many constructive comments and suggestions that have improved the book, it is a
pleasure to thank Dr. Jens Schulz and Dr. Susanne Heipcke (FICO, Berlin, Germany
and Marseille, France); Jan-Erik Justkowiak (Siegen University, Siegen, Germany);
Dr. Philipp M. Christophel (SAS Institute, Heidelberg, Germany); Dr. Johannes
Schlöder (IWR, Heidelberg University, Heidelberg, Germany); Prof. Dr. Iiro Har-
junkoski (Hitachi ABB Power Grids, Mannheim, Germany); Prof. Dr. Eugene
F. Milone (University of Calgary, Calgary, Canada); Prof. Dr. Tapio Westerlund
(Abo University, Finland); Prof. Dr. Ivo Nowak (Hochschule für angewandte
Wissenschaften Hamburg, Hamburg, Germany); Prof. Dr. Alexandra Newman and
Prof. Dr. Tulay Flamand and Phillip Bülow and Louis Kamga and Oluwaseun
Ogunmodede (Colorado School of Mines, Golden, CO, USA); John Cox (US Air
Force, Colorado School of Mines, Golden, CO, USA); Prof. Dr. David Morton
(Northwestern University, Evanston, IL, USA); Dr. Joonghyun Ryu (Hanyang
University, Seoul, Korea); Dominik Schweisgut who also wrote a first draft of
Appendix C (Heidelberg University, Heidelberg, Germany); Prof. Eli V. Olinick
(Southern Methodist University in Dallas, TX, USA); Prof. Dr. Ignacio E. Gross-
mann, Can Li, and Prof. Dr. Destenie Nock (Carnegie Mellon University, PA, USA);
4 Unfortunately, for the whole community, Prof. Floudas passed away in August 2016. I lost a
close collaborator and friend, we shared many common ideas and had joint activities since the
early 1990s.
Preface to the 2nd Edition xv
Dr. Michael Bussieck, Frederick Fiand, and Dr. Stefan Vigerske (GAMS Software
GmbH, Braunschweig, Germany); Dr. Anna Schreieck (Neustadt a.d. Weinstraße,
Germany); Prof. Dr. Stefan Helber (Leibniz University Hanover, Hanover, Ger-
many); and Prof. Dr. Siegfried Jetzke (Ostfalia University of Applied Sciences,
Salzgitter, Germany).
I thank Erwin Kalvelagen (www.amsterdamoptimization.com) for his kind
permission to use his GAMS file lagRel.gms in MCOL and parts of his description
on Lagrange relaxation in this book. From Fair Issac Corporation, I received the
permission to use the FICO® Xpress Mosel modeling examples and FICO® Xpress
Insight visualization examples. FICO is a trademark of Fair Isaac Corporation.
Finally, I thank my daughter Diana for producing the cartoon-like illustrations in
this book and proofreading, and Christian Rauscher, the editor in charge at Springer
(Heidelberg), with whom I had been working for many years — and who has
promoted this second edition of the book.
This book arose from a realization that modeling using mathematical programming
should be tightly linked with algorithms and their software implementation to solve
optimization problems. Such linkage is necessary for a full appreciation of the meth-
ods used to model problems that will ensure they can be solved successfully. While
there exist textbooks concentrating on the pure mathematics aspects of optimization,
and others which just describe applications without providing sufficient technical
background, we see our book as trying to provide a link between applications and the
mathematics required to solve real-world problems. Few textbooks have integrated
modeling with state-of-the-art commercially available software. Our book will also
incorporate this missing link and will include the software to solve the models
discussed.
Optimization using mathematical programming is an important subject area as
it can determine the dramatic savings available to organizations that could not be
achieved by other means. In this book, examples are cited where organizations are
saving many millions of pounds (sterling) or dollars (US) by using optimization
methods. Mathematical optimization models are part of tools that can help people
in the process of making decisions concerning the use of resources and saving costs.
Mathematical programming also provides a way to solve problems that, because
of their size or other features, would not otherwise be solvable by other methods. In
major cities, e.g., London, mathematical programming models influence the control
of the flow of domestic water through the city as the model is used to determine the
most efficient strategy to move water from source to user as peaks and troughs in the
usage pattern develop. Thus, the results from mathematical programming models
are literally all around many of us.
The need for a source book of material on the subject was recognized while
teaching at Heidelberg University and Loughborough University and while planning
conference sessions on the practical relevance of mixed integer optimization.
Although there is an extensive literature on mathematical programming, the
paucity of instructional materials in the area of efficient modeling and solving real-
world problems is striking. The student, researcher, or industrial practitioner must
read between the lines of material, usually only available in journal articles or
xvii
xviii Preface
similar, to glean the details of the modeling process and the “tricks of the trade”.
Yet the need is acute: as with many other areas of science, the computer revolution
has given many modelers in industry as well as at universities the tools to attempt
to solve realistic and complex models. In this work, we endeavor to provide a
suitable background as an aid to the novice modeler, a useful reference book for
the experienced modeler, and a springboard for the development of new modeling
ideas. In particular, by tailoring this book around a commercially available software
package we are able to illustrate some of the subtle details that determine the success
or failure of the modeling efforts.
Readership
This book has been planned for use by more than one type of readership. Most of this
book is designed to be used by readers who possess fairly elementary mathematical
skills, i.e., the use of algebraic manipulation, and it is made clear which sections
are not of this type. Further mathematical skills required are developed during
the course of the book but the presentation should not prove too daunting. The
material is suitable for use in courses in Business and Management Studies and
operations research environments. Readers with stronger mathematical skills (e.g.,
linear and matrix algebra) and experienced practitioners in the field will still find
much to interest them as the logic of modeling is developed. The book, therefore,
will provide appropriate course material for lecture courses, short courses and self-
teaching on the topics contained in it.
As some material is for the more advanced reader, or for the reader to use on
a second pass through the book, certain sections in chapters have been marked
as “advanced”. These sections may be omitted on a first pass through the book.
The more advanced parts of the book are written in such a way that it is sufficient
if the reader is familiar with the basic concepts and techniques of linear algebra.
A discussion of some foundations of optimization is provided at the end of some
chapters, where it is helpful if the reader has familiarity with calculus techniques. It
is also expected that the later advanced chapters will be read only once the reader
has started to build models in earnest. A glossary at the end of the book will provide
further help.
Scope
The focus of the book is primarily on models, model applications and individual
case studies rather than algorithmic details. However, because the success of
solution of complex problems requires efficient problem solving, it is important
that models and algorithms are tightly connected. Therefore, we also concentrate
on the mathematical formulation of models and the mathematical background of
the algorithms. The understanding of the mathematics involved in a problem or
model explains why certain model formulations work well while others do not.
We have tried to present in this book a self-contained treatment of the subject
where possible. The presentation of the material is not too far away from what
real modeling in business looks like. Most of the case studies have a commercial
Preface xix
or industrial background. For instance, some of the case studies in Chap. 10 stem
from problems recently analyzed and solved in a mathematical consultancy group
in the chemical industry.
Organization
Chapter 1 gives an introduction and overview of the field. Parts of this chapter,
in particular the details on the software used in this book, can be skipped by the
experienced practitioner. An overview on the history of optimization is presented
in the appendix to Chap. 1. It is presented as an appendix because it requires
some familiarity with the terminology of the subject. This chapter and parts of
Chap. 2, illustrating how small linear and integer programming problems may be
formulated, are kept on a very elementary level appropriate to the novice without
a background in mathematics. We provide a systematic overview of mathematical
solution techniques on both linear and mixed integer linear programming in Chap. 3,
while Chap. 12 contains details on nonlinear optimization techniques. Exercises are
included at the ends of chapters. These exercises can be tackled by hand or by using
the software, where appropriate, included with the book.
Types of linear programming problems and their modeling are discussed in
Chap. 4. Chapter 5 is a collection of case studies in the framework of linear
programming. Chapters 6 and 7 cover foundations of integer programming while
in Chap. 8 case studies are discussed. In Chap. 9 we consider how practitioners
may best set up and solve their optimization problems and in Chap. 10 we consider
examples of large cases. Then in Chap. 11 we consider other types of optimization,
e.g., sequential linear, quadratic and mixed integer stochastic programming. New to
the second edition are the chapters devoted to nonlinear optimization (Chap. 12),
deterministic global optimization (Chap. 13), polylithic modeling and solution
approaches (Chap. 14), cutting and packing (Chap. 15), impact of optimization and
especially parallel optimization (Chap. 16). Finally, Chap. 17 reflects the author’s
view on mathematical optimization and modeling, how it is and should be used, and
what is to be expected from it in the future.
Certain sections of chapters may be skipped by readers new to the area of
optimization. They are marked by in the section heading. These sections should
be read through when required on a subsequent reading.
Instructors Manual
An Instructors Manual is available to bona fide lecturers. Please, contact the author
Josef Kallrath.
Acknowledgments
We would to like to thank colleagues and mentors who have advised and/or inspired
us over the years. These are too numerous to mention but we would like to single
out Beate Brockmüller for providing material on the telecommunication network
problem, Bob Daniel and Gunter Schnabel for the time they spent with us discussing
the manuscript in great detail, Tom Horak, Gernot Sauerborn, Anna Schreieck,
James Tebboth, Christian Timpe and Max Wagner for reading the manuscript (JK),
and inspiration from the work of Peter Hammer, Ailsa Land, Gautam Mitra, Paul
xx Preface
Williams and the late Martin Beale (JMW). We also offer our thanks to Dash
Associates for help, advice and cooperation over the inclusion of the XPRESS-MP
software and related discussion material.5 JK wants to express his special thanks
to Marilyn Dalton for her kind hospitality during numerous visits to Blisworth
House. Finally, JK wants to thank the clients involved in some of the real-world
cases. The interaction and communication with the clients, most of whom were
enthusiastic persons with deep knowledge of the business process they wanted
to improve using mathematical optimization, was an important and irreplaceable
resource which made the solution of challenging problems possible. Although, after
all the years these people might have forgotten6 the work and the exciting time we
spent together and might not be aware how they indirectly contributed to this book I
want to mention them: Peter Bassler, David DeSantis, Andy Hayter, Klaus Kindler,
Jan Orband, Gunter Schnabel, Hubert Smuda and Eckhardt Schubert.
5 Dash holds a copyright on parts of the following Sects. 2.7, 10.2, 10.3 and 16.6.
6 Of course,I hope they have not forgotten! All the special adventures involved in the time working
on their problems could fill a book on its own.
Contents
xxi
xxii Contents
3.5 Duality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 97
3.5.1 Constructing the Dual Problem . . . . . . . .. . . . . . . . . . . . . . . . . . . . 98
3.5.2 Interpreting the Dual Problem . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 100
3.5.3 Duality Gap and Complementarity . . . .. . . . . . . . . . . . . . . . . . . . 102
3.6 Summary and Recommended Bibliography . . . .. . . . . . . . . . . . . . . . . . . . 104
3.7 Exercises .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 104
3.8 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 105
3.8.1 Linear Programming — A Detailed Description .. . . . . . . . . 105
3.8.2 Computing Initial Feasible LP Solutions .. . . . . . . . . . . . . . . . . 112
3.8.3 LP Problems with Upper Bounds . . . . . .. . . . . . . . . . . . . . . . . . . . 113
3.8.4 Dual Simplex Algorithm . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 118
3.8.5 Interior-Point Methods — A Detailed Description . . . . . . . 118
3.8.6 Branch and Bound with LP Relaxation .. . . . . . . . . . . . . . . . . . . 128
4 Problems Solvable Using Linear Programming .. . . .. . . . . . . . . . . . . . . . . . . . 131
4.1 Cutting Stock: Trimloss Problems .. . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 131
4.1.1 Example: A Trimloss Problem in the Paper Industry . . . . . 132
4.1.2 Example: An Integer Trimloss Problem .. . . . . . . . . . . . . . . . . . 134
4.2 The Food Mix Problem . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 135
4.3 Transportation and Assignment Problems . . . . . .. . . . . . . . . . . . . . . . . . . . 136
4.3.1 The Transportation Problem . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 136
4.3.2 The Transshipment Problem . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 139
4.3.3 The Assignment Problem . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 141
4.3.4 Transportation and Assignment Problems as
Subproblems . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 142
4.3.5 Matching Problems .. . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 142
4.4 Network Flow Problems . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 143
4.4.1 Illustrating a Network Flow Problem ... . . . . . . . . . . . . . . . . . . . 144
4.4.2 The Structure and Importance of Network Flow
Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 145
4.4.3 Case Study: A Telephone Betting Scheduling
Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 146
4.4.4 Other Applications of Network Modeling Technique . . . . 148
4.5 Unimodularity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 148
4.6 Summary and Recommended Bibliography . . . .. . . . . . . . . . . . . . . . . . . . 149
4.7 Exercises .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 149
5 How Optimization Is Used in Practice: Case Studies in
Linear Programming .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 151
5.1 Optimizing the Production of a Chemical Reactor . . . . . . . . . . . . . . . . . 151
5.2 An Apparently Nonlinear Blending Problem . . .. . . . . . . . . . . . . . . . . . . . 153
5.2.1 Formulating the Direct Problem . . . . . . .. . . . . . . . . . . . . . . . . . . . 154
5.2.2 Formulating the Inverse Problem . . . . . .. . . . . . . . . . . . . . . . . . . . 156
5.2.3 Analyzing and Reformulating the Model.. . . . . . . . . . . . . . . . . 157
xxiv Contents
Prof. Dr. Josef Kallrath has studied mathematics, physics, and astronomy in
Bonn, where he received a doctorate in 1989 for his dissertation in astrophysics
on the dynamics of colliding double stellar winds. He has worked in companies
(BASF SE, Ludwigshafen; 1989–2019), has been freelancing since 1998 as a
scientific consultant and lecturer, and solving practical problems in industry with
scientific computing and operations research techniques, most of it being modeling
and solving mathematical optimization problems. His work focuses on mathemati-
cal optimization to support decisions in process, paper, metal, and energy industry,
as well as transport infrastructure and the modeling of physical systems. He has
taught at the University of Heidelberg (1991–2001) and at the University of Florida
in Gainesville/USA (since 1997). Since 2002, Prof. Kallrath has been heading the
Mathematical Optimization Practice Group of the German Operations Research
society (GOR).
xxxi
List of Figures
xxxiii
xxxiv List of Figures
This chapter guides the reader into the field of mathematical optimization, dis-
tinguishes optimization from simulation, and introduces the key objects used in
optimization models. It sketches how simple linear programming (LP) problems
may be solved graphically. The chapter contains a survey of real-world problems
and finally a review of the history of optimization. Those readers who want to use
the optimization software attached to this book will find sufficient information in
this chapter to do so. Readers less interested in implementation issues or already
familiar with the use of commercial software may of course skip those parts.
The title of this book contains the term mathematical programming. So let us
first consider the question: “What is mathematical programming1 or optimization
and what are optimization problems?” Optimization problems arise in almost all
branches of industry or society, e.g., in product and process design, allocation of
scarce resources, production, logistics, scheduling, strategic planning, or traffic
control. They can have different time scales: real-time (just now), operational
(short-term), tactical (mid-term), and strategic (long-term) planning. Unfortunately,
the word optimization, in nontechnical language, is often used in the sense of
improving while the original meaning of the word is related to finding the best.
In an optimization problem (OP), one tries to minimize or maximize an important
1 The term mathematical programming has its historical roots in the first problems solved by linear
programming in the Second World War. In these days, programming had more the meaning of
planning. Nowadays, mathematical optimization seems more appropriate. In this book we will use
the terms mathematical programming and mathematical optimization synonymously.
characteristic of a process within the problem such as revenue, elapsed time or cost,
by an appropriate choice of decisions which influence this process, e.g., budget
allocations, manpower deployed, or quantities to be manufactured. Such decisions
can be controlled, but are influenced and ultimately limited by a set of constraints,
linked, for example, to physical limits, e.g., limits on the budget or manpower
available. The results of the optimization process will suggest decisions that could
be taken and, if appropriate, the levels of resources that should be utilized.
A traditional way to develop answers to decision problems is to propose a
number of choices for the values of the decisions, using trial and error methods.
The processes under investigation are then evaluated or simulated under these
various choices, and the results are compared. This concept of simulation [cf. Pidd
(1992,[439])] may involve varying certain input data or building scenarios from
investigating the behavior of a model under various sets of conditions. Simulation
can be carried out using sophisticated software systems, e.g., SIMSCRIPT2, and
is also prevalent as the “what if” facility provided by more general purpose
software such as spreadsheets (e.g., LOTUS3 , EXCEL4). Analysts in charge of
simulating these decisions have developed intuition and simple rules to select
appropriate conditions, and simulation software exists to perform the evaluation
of their performance. The “traditional” techniques may lead to useful and usable
results, but there is no guarantee that the best solution (the optimal solution) or
even a solution close to the optimal solution has been found. This is especially
troublesome for large or complex problems, or those which require decisions with
high financial impact. Below we will discuss the difference between simulation and
mathematical optimization. This difference can be more easily discussed when we
have answered the following question:
What do we need when we want to solve a real-world problem by mathematical
optimization?
The first thing we need is to represent the real-world problem by a mathematical
model. A mathematical model of a system is a set of mathematical relationships
(e.g., equalities, inequalities, logical conditions) which represent an abstraction of
the real-world problem under consideration [see Fig. 1.1]. Usually, a mathematical
model in optimization consists of four key objects:
• data or parameters,5
• variables (continuous, semi-continuous, binary, integer),6
• constraints (equalities, inequalities),7 and
• objective function.
The data or parameters define an instance of a problem. They may represent costs
or demands, fixed operating conditions of a reactor, capacities of plants, and so on.
The variables represent the degrees of freedom, i.e., our decisions: how much of a
certain product is to be produced, whether a depot is closed or not, or how much
material should be stored in the inventory for later use. The constraints can be a
wide range of mathematical relationships: algebraic, logic, differential, or integral;
in this book, only algebraic and logic constraints are considered. They may represent
4 1 Optimization: Using Models, Validating Models, Solutions, Answers
mass balances, quality relations, capacity limits, and so on. The objective function,
finally, expresses our goals or objectives in a mathematical form: minimize costs,
maximize utilization rate, minimize waste, and so on. When building mathematical
optimization models they usually lead to structured problems such as:
• linear programming (LP) problems,
• mixed integer linear programming (MILP) problems,
• nonlinear programming (NLP) problems, and
• mixed integer nonlinear programming (MINLP) problems.
Besides building a model and classifying the problem one needs a solver, i.e., a
piece of software which has a set of algorithms capable of solving the problems
listed above.
Above, the terms integer or mixed integer occurred. What is mixed integer or
discrete8 optimization? Classical optimization theory (calculus, variational calculus,
optimal control) treats those cases in which the decision variables can be changed
continuously, e.g., the temperature in a chemical reactor or the amount of a product
to be produced. On the other hand, mixed integer, combinatorial, or discrete
optimization addresses degrees of freedom which are limited to integer values,
for example, counts (numbers of containers, ships), decisions (yes–no), or logical
relations (if product A is produced, then product B also needs to be produced). This
discipline, formerly only a marginal discipline within mathematical optimization, is
becoming more and more important (Grötschel, 1992,[243]) as it extends the power
of mathematical optimization to situations which are relevant to practical decision
making where business success is at stake.
Above, simulation is also mentioned as a mean to improve a company’s business.
What is the difference between simulation and mathematical optimization? In
contrast to simulation, optimization methods search directly for an optimal solution
that fulfills all restrictions and relations which are relevant for the real-world
problem, and prove that a certain solution is optimal (proof of optimality). In
simulation, the effects on a model of selected solutions will be examined, but
there will be no guarantee that any of the solutions under consideration is optimal.
Besides optimality, notice the other very substantial difference between simulation
and optimization: the existence of constraints. While in simulation somebody has to
make sure that only those combinations of variables are evaluated which represent
“appropriate conditions,” in optimization models it has to be specified a priori
what makes a feasible solution. Once the problem has been solved to optimality
within the specified limitations or constraints, then it is known that no other set
of decisions or values for quantities suggested by these decisions can provide any
other solution which will give a “better” value to the characteristic that has been
optimized. “Better” here will mean larger if the characteristic is to be maximized
(e.g., discounted revenue being maximized) and smaller if the characteristic is to
8 The terms mixed integer optimization and discrete optimization are used synonymously in this
book. Sometimes, in the literature, the term combinatorial optimization is also used.
1.1 Introduction: Some Words on Optimization 5
inception, nearly $250 billion in benefits have been tabulated among Franz Edelman
Award finalist teams. Following the competition, INFORMS publishes papers by the
Edelman finalists in the January issue of the INFORMS journal Interfaces.
In the first edition of this book published in 1997, this section started with the
following paragraph:
This book will consider the two types of mathematical programming problems
introduced, namely the linear programming problem and its extension, the “mixed
integer linear programming problem,” and certain variations on these problems. We
will consider how to set up these types of problem, how they are used, how they are
solved, and how to use software to both model and solve practical situations that
can be tackled using these two types of problems. Some other types of problems,
principally those most closely related to these two, will be considered, but in
very much less detail. That is not to say that problems which can be handled by
techniques such as dynamic programming [cf. Bellman (1957,[59])] or nonlinear
programming [cf. Chap. 12 or Bazaraa et al. (1993,[53])] are not important, but
rather that most commercially available software has concentrated on the linear
programming problem or the mixed integer linear programming problem because
they are the most useful in applications and the most straightforward to solve for
problems of large size. Thus we will tend to “follow the crowd,” but this will have the
advantage that we can benefit from the considerable effort that has gone into solving
such problems over the last 30–40 years, and, in particular, from the developments
in software to solve such problems.
The chapters of the book introduce the concepts necessary for an understanding
of mathematical optimization problems. However, these topics are not introduced in
a purely abstract form, but rather they will be related to using these techniques and
approaches together with a software system, as would be done in practice.
In this second edition, the scope has been significantly extended. It covers
nonlinear optimization as well as mixed integer nonlinear optimization. Polylithic
modeling and solution approaches have been added and optimization under uncer-
tainty has been treated in more detail. Readers interested in cutting and packing will
find more specific material on this interesting topic with relations to computational
geometry. Unless readers want to start with the nonlinear world right away, the easier
path to follow is to start with linear programming, moving to mixed integer linear
programming, and finally entering the world of nonlinear optimizations problems.
The software, i.e., the model files which come with this book, can be solved
with the algebraic modeling systems (AMSs, hereafter) and the algebraic modeling
languages (AMLs) contained therein: GAMS,9 FICO Xpress Mosel, (short
9 www.gams.com; see also Brooke et al. (1988,[100]) and Bussieck & Meeraus (2003,[106]).
1.3 The Significance and Benefits of Models 7
The term modeling presupposes the term model, which first derives from the Latin
word modelus (scale [diminutive of mode, measure] and then from the word modelo
10 www.fico.com/xpress; see also Heipcke (2002,[259]), Guéret et al. (2002,[245]), Colombani &
(2003,[200]).
13 www.pyomo.org.
14 www.juliaopt.org.
8 1 Optimization: Using Models, Validating Models, Solutions, Answers
formed in the sixteenth century and which is used today in everyday life and in
scientific language with various meanings, but mostly in the sense of a simplified,
abstracted, or structured representation of an interesting part of reality. However,
the idea and thus the terminology are much older. Even with Pythagoras around 600
BC, classical geometry consciously distinguished between wheel and circle; field
and rectangle. Around 1100 A.D., a wooden model was made as an abstraction of
the later Speyer Cathedral. Astrolabes and celestial spheres were used as manifested
models of the motion sequences in the firmament to calculate the rising and setting
of the sun, moon, and stars. Until the nineteenth century, mechanical models were
understood as images of reality; they attributed all processes to the movement of
the smallest particles, which followed the principles of classical mechanics. Further
attempts were made to reduce all physical and other processes to the mechanistic
model. Nowadays in physics and mathematical sciences one speaks of models, if
1. for reasons of simplification, the investigation is limited to certain phenomena
which, in a given context, are regarded as important (example: in the movement
of the planets, the spatial extent of these bodies is initially neglected),
2. for reasons of didactic illustration, one gives a picture based on classical ideas for
phenomena which are not accessible in a descriptive way (example: the planetary
model to illustrate the conditions in atomic nuclei), or
3. one studies situations in one range in analogy to known situations in another
range (analogy models).
Let us generally define a model as an appropriate abstract representation of a real
system [cf. Williams (1993,[580]) or Bossel (1994,[93])]. Naturally, a mathematical
model of a process or a problem is formulated with the help of mathematical objects
(variables, terms, relations). A (mathematical) model represents a real problem in
the language of mathematics, i.e., using mathematical symbols, variables, equations,
inequalities, and other relations.
A very important aspect, which is connected with modeling and precedes it,
is the model purpose. It results directly in connection with the problem and very
substantially influences the process of modeling. In science (e.g., Physics, Astron-
omy, Chemistry, and Biology) models are used to gain a deeper understanding
of processes occurring in nature (an epistemological argument), e.g., to explain
the movements of planets. The comparison of measurements and observations
with the predictions of a model is used to determine the appropriateness and
quality of the model. Sir Karl Popper (1980,[444]) uses the expressions falsification
and verification in his famous book Logic of Scientific Discovery as tasks when
accomplished deciding on whether a certain model is eliminated, slightly modified
or accepted in improving the scientific process. Later, aspects and questions of
accepting and improving global and fundamental models (e.g., general relativity
or quantum physics) formed part of the discussion of the philosophy of science.
1.3 The Significance and Benefits of Models 9
15 Reality itself is already as compact as possible to be able to present itself lossless. Consequently
each self-image on a small section (individual human being) is inevitably connected with a loss of
information. So we shape ourselves and our view of the world only by a very small part of reality
which is filtered by our sensory organs and learned behavior. Our terms and languages in general
are products of limited perception — and therefore highly subjective. Modeling then occurs as
reduction in already limited worldviews.
10 1 Optimization: Using Models, Validating Models, Solutions, Answers
model is not ready when you can’t add anything anymore, but when you can’t
leave anything out.”
However, there are some aspects that should be considered when building a
model:
1. Definition of the problem and the purpose of the model: A clearly formulated task
should be used as a basis for defining the purpose of the model.
2. Problem scope: It is necessary to clearly define what belongs to the problem or
model and what does not (example: in a production planning system for medium-
and long-term planning we may neglect detailed planning aspects).
3. Identification of important model objects (examples: products, production sites,
warehouses, transport links, time periods, etc.) and relations between these
objects.
4. Acceptance and users: The model formulation should be adapted to the problem,
the model purpose, and the potential user. For instance, the planner who needs
to accept the model for his planning purposes. It helps if the modeler knows all
relevant aspects — and the motivations of people involved or designated to use
the model. Models for vehicle routing and their use can encounter acceptance
problems among truck drivers, if the client, the routing planner, has named the
minimization of travel costs as a target for the modeler, but each individual truck
driver is paid on the basis of the delivery value of goods. So a driver would rather
take a trip with one expensive piece of furniture to be delivered and mounted
than a trip with many destinations, where only cheap and perhaps even time-
consuming set-up work has to be done.
These points may already indicate that modeling is one of the most important
and critical tasks in optimization. This might suggest the question: is it possible
to learn good and efficient modeling? The answer is both “Yes” “No.” For good
model building, experience is essential; cf. Williams (1993,[580]) or Ashford and
Daniel (1992,[37]). The choice of the right decision variables to include the model
and a good model formulation correlate with one another. It is not necessarily
the number of decisions or restrictions that reflects the complexity of a problem
[concerning complexity, see remarks on page 555]. The criterion that separates a
good formulation from a bad one has a mathematical foundation which is difficult
for a modeler to establish, if at all possible. Nevertheless, rigid approaches exist
which try to improve the model formulation by exploiting certain mathematical
features [see Chaps. 8 and 9, and examples]. The effect is that the computing time
needed to solve the problem is reduced significantly. For further discussion see
Jeroslow & Lowe (1984,[288]) and Williams (1993,[580]). It is important that a
model developer needs to be knowledgeable about both: The “model” (the right
level of abstraction. . . ) and the “mathematical formulation,” which is also often
referred to as the “mathematical model.” We will come back to the importance of
good modeling again and again in this book. At this stage, let us first focus on the
question (Fig. 1.2):
1.3 The Significance and Benefits of Models 11
Fig. 1.2 A powerful modeler. Sometimes, modeling done right seems like magic. Produced for
this book by Diana Kallrath, Copyright ©2020
What is a model good for and how can we benefit from it? A well formulated and
documented model is useful for deduction, i.e., it allows us to derive consequences
and results. The results from the model have to be interpreted with respect to their
consequences in reality. The model building process increases our understanding
of a real-world problem. It documents structural features of that problem and thus
provides the know-how that others can use later on. The evaluation of a model
is coupled to the degree of reality contained in the model and the modeler’s
power. While within mathematics a strict mathematical proof is the ideal measure,
and one speaks of natural scientific models being subjected to falsification or
verification, in economic or business orientated models validation is what comes
12 1 Optimization: Using Models, Validating Models, Solutions, Answers
are fulfilled. However, one should always be aware that with a well-validated model,
the model is only a partial aspect of reality, and hence the model is less than reality.
However, it does not necessarily have to be a lot less. Electrodynamics, for example,
reproduces macroscopic electromagnetic phenomena so accurately that it is possible
to speak of a match between model and reality within the scope of measurement
accuracy. Furthermore, for the real-world problems and models we are dealing with,
we have to keep in mind that today’s reality (and model) can be quite different from
tomorrow’s reality. Let us conclude this section with a statement found in Box &
Draper (1987,[95]) “. . . all models are wrong, but some are useful.”
Four fundamental problem types are considered in this book. The first is linear
programming (LP), introduced now, the second is mixed integer linear programming
(MILP), to be introduced in Chap. 2, the third and fourth are nonlinear (NLP) and
mixed integer nonlinear programming (MINLP) to be treated in Chap. 3.
We now turn to an example where we will identify the main features of this
linear optimization problem. Sunshine Cruises is a national company specializing
in renting out river-going boats to tourists. The company makes use of two types of
boats — the Premier and the Standard. The Premier is the more expensive boat to
hire and each Premier boat brings in an average net revenue of 800 per week, while
for the Standard the corresponding figure is £600 per week. The company is about
to scrap its older boats and lease new ones and has asked for some advice about
decision making. Decisions to be taken will be based on a scenario of “a typical
week.”
The company has maximum berthing accommodation around the country for
350 boats in total, of which not more than 200 can be Premier boats. The company
also wants to have no fewer Premier boats than Standard. Maintenance of boats is a
further restriction. Each Premier craft requires 4 h maintenance per week while each
Standard craft requires 3 h. The maximum number of maintenance hours available
per week is 1400 (Fig. 1.3).
1.4 Mathematical Optimization 13
Fig. 1.3 Boat problem illustrated. The decision maker from Sunshine Cruises pondering the
number of Premier boats and Standard boats. Produced for this book by Diana Kallrath, Copyright
©2020
16 The advanced reader or those who have had already a glance at Chap. 3 notice that this problem
is technically an integer linear programming problem. But for the moment, we avoid the difference
between Linear Programming involving only continuous variables and Integer Programming
involving integer variables.
14 1 Optimization: Using Models, Validating Models, Solutions, Answers
Let p be the desired number of Premier boats, and s the desired number of
Standard boats. For practical sense it is clear that neither p nor s should ever take
a negative value, but otherwise we can expect large or small values for p and s -
at the moment we are uncertain. It might be more realistic if p and s could avoid
taking values which include fractions. The fractional solution of 18.5 Premier boats
might not be appropriate, even if it were acceptable mathematically. However, we
will assume that for the moment such an answer will be regarded as appropriate, if it
arises, as such an answer is considered admissible in a linear programming problem.
For the example introduced, the variables can now be linked together in
expressions to model the relationships of the problem.
Firstly, there is a limit on accommodation for berthing. The total number of boats
in our model is
p+s (1.4.1)
p + s ≤ 350 (1.4.2)
to model this restriction. Notice that the restriction takes the form of an inequality
rather than an equation as the total number of boats which is desired to be used may
turn out to be less than 350.
The restriction that not more than 200 can be Premier boats is modeled by the
inequality
p ≤ 200. (1.4.3)
4p + 3s ≤ 1400 (1.4.4)
to show that the total number of maintenance hours used is limited by 1400.
To model the restriction that there must be no fewer Premier boats than Standard
we introduce the constraint
p ≥ s,
Another Random Scribd Document
with Unrelated Content
CHAPTER VI
A DMIRED and courted though she was, Marie Grubbe soon found
that, while she had escaped from the nursery, she was not fully
admitted to the circles of the grown up. For all the flatteries lavished
on them, such young maidens were kept in their own place in
society. They were made to feel it by a hundred trifles that in
themselves meant nothing, but when taken together meant a great
deal. First of all, the children were insufferably familiar, quite like
their equals. And then the servants—there was a well-defined
difference in the manner of the old footman when he took the cloak
of a maid or a matron, and the faintest shade in the obliging smile of
the chambermaid showed her sense of whether she was waiting on
a married or an unmarried woman. The free-and-easy tone which
the half-grown younkers permitted themselves was most unpleasant,
and the way in which snubbings and icy looks simply slid off from
them was enough to make one despair.
She liked best the society of the younger men, for even when
they were not in love with her, they would show her the most
delicate attention and say the prettiest things with a courtly
deference that quite raised her in her own estimation,—though to be
sure it was tiresome when she found that they did it chiefly to keep
in practice. Some of the older gentlemen were simply intolerable
with their fulsome compliments and their mock gallantry, but the
married women were worst of all, especially the brides. The
encouraging, though a bit preoccupied glance, the slight
condescending nod with head to one side, and the smile—half
pitying, half jeering—with which they would listen to her—it was
insulting! Moreover, the conduct of the girls themselves was not of a
kind to raise their position. They would never stand together, but if
one could humiliate another, she was only too glad to do so. They
had no idea of surrounding themselves with an air of dignity by
attending to the forms of polite society the way the young married
women did.
Her position was not enviable, and when Mistress Rigitze let fall a
few words to the effect that she and other members of the family
had been considering a match between Marie and Ulrik Frederik, she
received the news with joy. Though Ulrik Frederik had not taken her
fancy captive, a marriage with him opened a wide vista of pleasant
possibilities. When all the honors and advantages had been
described to her—how she would be admitted into the inner court
circle, the splendor in which she would live, the beaten track to fame
and high position that lay before Ulrik Frederik as the natural son
and even more as the especial favorite of the King,—while she made
a mental note of how handsome he was, how courtly, and how much
in love,—it seemed that such happiness was almost too great to be
possible, and her heart sank at the thought that, after all, it was
nothing but loose talk, schemes, and hopes.
Yet Mistress Rigitze was building on firm ground, for not only had
Ulrik Frederik confided in her and begged her to be his spokesman
with Marie, but he had induced her to sound the gracious pleasure
of the King and Queen, and they had both received the idea very
kindly and had given their consent, although the King had felt some
hesitation to begin with. The match had, in fact, been settled long
since by the Queen and her trusted friend and chief gentlewoman,
Mistress Rigitze, but the King was not moved only by the
persuasions of his consort. He knew that Marie Grubbe would bring
her husband a considerable fortune, and although Ulrik Frederik held
Vordingborg in fief, his love of pomp and luxury made constant
demands upon the King, who was always hard pressed for money.
Upon her marriage Marie would come into possession of her
inheritance from her dead mother, Mistress Marie Juul, while her
father, Erik Grubbe, was at that time owner of the manors of Tjele,
Vinge, Gammelgaard, Bigum, Trinderup, and Nörbæk, besides
various scattered holdings. He was known as a shrewd manager who
wasted nothing, and would no doubt leave his daughter a large
fortune. So all was well. Ulrik Frederik could go courting without
more ado, and a week after midsummer their betrothal was
solemnized.
Ulrik Frederik was very much in love, but not with the stormy
infatuation he had felt when Sofie Urne ruled his heart. It was a
pensive, amorous, almost wistful sentiment, rather than a fresh,
ruddy passion. Marie had told him the story of her dreary childhood,
and he liked to picture to himself her sufferings with something of
the voluptuous pity that thrills a young monk when he fancies the
beautiful white body of the female martyr bleeding on the sharp
spikes of the torture-wheel. Sometimes he would be troubled with
dark forebodings that an early death might tear her from his arms.
Then he would vow to himself with great oaths that he would bear
her in his hands and keep every poisonous breath from her, that he
would lead the light of every gold-shining mood into her young heart
and never, never grieve her.
Yet there were other times when he exulted at the thought that
all this rich beauty, this strange, wonderful soul were given into his
power as the soul of a dead man into the hands of God, to grind in
the dust if he liked, to raise up when he pleased, to crush down, to
bend.
It was partly Marie’s own fault that such thoughts could rise in
him, for her love, if she did love, was of a strangely proud, almost
insolent nature. It would be but a halting image to say that her love
for the late Ulrik Christian had been like a lake whipped and tumbled
by a storm, while her love for Ulrik Frederik was the same water in
the evening, becalmed, cold, and glassy, stirred but by the breaking
of frothy bubbles among the dark reeds of the shore. Yet the simile
would have some truth, for not only was she cold and calm toward
her lover, but the bright myriad dreams of life that thronged in the
wake of her first passion had paled and dissolved in the drowsy calm
of her present feeling.
She loved Ulrik Frederik after a fashion, but might it not be
chiefly as the magic wand opening the portals to the magnificent
pageant of life, and might it not be the pageant that she really
loved? Sometimes it would seem otherwise. When she sat on his
knee in the twilight and sang little airs about Daphne and Amaryllis
to her own accompaniment, the song would die away, and while her
fingers played with the strings of the cithern, she would whisper in
his waiting ear words so sweet and warm that no true love owns
them sweeter, and there were tender tears in her eyes that could be
only the dew of love’s timid unrest. And yet—might it not be that her
longing was conjuring up a mere mood, rooted in the memories of
her past feeling, sheltered by the brooding darkness, fed by hot
blood and soft music,—a mood that deceived herself and made him
happy? Or was it nothing but maidenly shyness that made her chary
of endearments by the light of day, and was it nothing but girlish
fear of showing a girl’s weakness that made her eyes mock and her
lips jeer many a time when he asked for a kiss or, vowing love,
would draw from her the words all lovers long to hear? Why was it,
then, that when she was alone, and her imagination had wearied of
picturing for the thousandth time the glories of the future, she would
often sit gazing straight before her hopelessly, and feel unutterably
lonely and forsaken?
and as she sang, the whip flew down over her horse, she laughed,
hallooed, and galloped at top speed along a narrow forest path,
where the branches swept her shoulders. Her eyes sparkled, her
cheeks burned, she did not heed Ulrik Frederik calling after her. The
whip whizzed through the air again, and off she went with reins
slack! Her fluttering habit was flecked with foam. The soft earth flew
up around her horse. She laughed and cut the tall ferns with her
whip.
Suddenly the light seemed to be lifted from leaf and branch and
to flee from the rain-heavy darkness. The rustling of the bushes had
ceased, and the hoof-beats were silent, as she rode across a stretch
of forest glade. On either side the trees stood like a dark encircling
wall. Ragged gray clouds were scudding over the black, lowering
heavens. Before her rolled the murky blue waters of the Sound, and
beyond rose banks of fog. She drew rein, and her tired mount
stopped willingly. Ulrik Frederik galloped past, swung back in a wide
circle, and halted at her side.
At that moment a shower fell like a gray, heavy, wet curtain
drawn slantwise over the Sound. An icy wind flattened the grass,
whizzed in their ears, and made a noise like foaming waves in the
distant tree-tops. Large flat hailstones rattled down over them in
white sheets, settled like bead strings in the folds of her dress, fell in
a spray from the horses’ manes, and skipped and rolled in the grass
as though swarming out of the earth.
They sought shelter under the trees, rode down to the beach,
and presently halted before the low door of the Bide-a-Wee Tavern.
A stable-boy took the horses, and the tall, bareheaded inn-keeper
showed them into his parlor, where, he said, there was another
guest before them. It proved to be Hop-o’-my-Thumb, who rose at
their entrance, offering to give up the room to their highnesses, but
Ulrik Frederik graciously bade him remain.
“Stay here, my man,” he said, “and entertain us in this
confounded weather. I must tell you, my dear,”—turning to Marie,
—“that this insignificant mannikin is the renowned comedian and
merry-andrew of ale-houses, Daniel Knopf, well learned in all the
liberal arts such as dicing, fencing, drinking, shrovetide sports, and
such matters, otherwise in fair repute as an honorable merchant in
the good city of Copenhagen.”
Daniel scarcely heard this eulogy. He was absorbed in looking at
Marie Grubbe and formulating some graceful words of felicitation,
but when Ulrik Frederik roused him with a sounding blow on his
broad back, his face flushed with resentment and embarrassment.
He turned to him angrily, but mastered himself, and said with his
coldest smile: “We’re scarce tipsy enough, Colonel.”
Ulrik Frederik laughed and poked his side, crying: “Oh, you
sacred knave! Would you put me to confusion, you plaguy devil, and
make me out a wretched braggart who lacks parchments to prove
his boasting? Fie, fie, out upon you! Is that just? Have I not a score
of times praised your wit before this noble lady, till she has time and
again expressed the greatest longing to see and hear your far-famed
drolleries? You might at least give us the blind Cornelius Fowler and
his whistling birds, or play the trick—you know—with the sick cock
and the clucking hens!”
Marie now added her persuasions, saying that Colonel Gyldenlöve
was quite right, she had often wondered what pastime, what fine
and particular sport, could keep young gentlemen in filthy ale-
houses for half days and whole nights together, and she begged that
Daniel would oblige them without further urging.
Daniel bowed with perfect grace and replied that his poor pranks
were rather of a kind to give fuddled young sparks added occasion
for roaring and bawling than to amuse a dainty and highborn young
maiden. Nevertheless, he would put on his best speed to do her
pleasure, for none should ever say it of him that any command from
her fair ladyship had failed of instant obedience and execution.
“Look ’ee!” he began, throwing himself down by the table and
sticking out his elbows. “Now I’m a whole assembly of your
betrothed’s honorable companions and especial good friends.”
He took a handful of silver dollars from his pocket and laid them
on the table, pulled his hair down over his eyes, and dropped his
lower lip stupidly.
“Devil melt me!” he drawled, rattling the coins like dice. “I’m not
the eldest son of the honorable Erik Kaase for nothing! What! you’d
doubt my word, you muckworm? I flung ten, hell consume me, ten
with a jingle! Can’t you see, you dog? I’m asking if you can’t see?—
you blind lamprey, you! Or d’ye want me to rip your guts with my
stinger and give your liver and lungs a chance to see too? Shall I—
huh? You ass!”
Daniel jumped up and pulled a long face.
“You’d challenge me, would you?” he said hoarsely with a strong
North Skaane accent, “you stinkard, you! D’you know whom you’re
challenging? So take me king o’ hell, I’ll strike your—Nay, nay,” he
dropped into his natural voice, “that’s perhaps too strong a jest to
begin with. Try another!”
He sat down, folded his hands on the edge of his knees as
though to make room for his stomach, puffed himself up, fat and
heavy jowled, then whistled firmly and thoughtfully but in an
altogether too slow tempo the ballad of Roselil and Sir Peter. Then
he stopped, rolled his eyes amorously, and called in fond tones:
“Cockatoo—cockadoodle-doo!” He began to whistle again, but
had some difficulty in combining it with an ingratiating smile. “Little
sugar-top!” he called, “little honey-dew, come to me, little chuck!
P’st! Will it lap wine, little kitty? Lap nice sweet wine from little
cruse?”
Again he changed his voice, leaned forward in his chair, winked
with one eye, and crooked his fingers to comb an imaginary beard.
“Now stay here,” he said coaxingly, “stay here, fair Karen; I’ll
never forsake you, and you must never forsake me,”—his voice grew
weepy,—“we’ll never part, my dear, dear heart, never in the world!
Silver and gold and honor and glory and precious noble blood—
begone! I curse you! Begone! I say. You’re a hundred heavens high
above them, the thing of beauty you are! Though they’ve
scutcheons and emblems—would that make ’em any better? You’ve
got an emblem, too—the red mark on your white shoulder that
Master Anders burned with his hot iron, that’s your coat-of-arms! I
spit on my scutcheon to kiss that mark—that’s all I think of
scutcheons—that’s all! For there isn’t in all the land of Sjælland a
high-born lady as lovely as you are—is there, huh? No, there isn’t—
not a bit of one!”
“That’s—that’s a lie!” he cried in a new voice, jumped up, and
shook his fist over the table. “My Mistress Ide, you blockhead, she’s
got a shape—as a man may say—she’s got limbs—as a man may say
—limbs, I tell you, you slubberdegulleon!”
At this point Daniel was about to let himself fall into the chair
again, but at that moment Ulrik Frederik pulled it away, and he rolled
on the floor. Ulrik Frederik laughed uproariously, but Marie ran to
him with hands outstretched as though to help him up. The little
man, half rising on his knees, caught her hand and gazed at her with
an expression so full of gratitude and devotion that it haunted her
for a long time. Presently they rode home, and none of them
thought that this chance meeting in the Bide-a-Wee Tavern would
lead to anything further.
CHAPTER IX
So now they are married and settled, and time passes, and time
flies, and all is well—and time slackened its speed, and time crawled;
for it is true, alas! that when Leander and Leonora have lived
together for half a year, the glory is often departed from Leander’s
love, though Leonora usually loves him much more tenderly than in
the days of their betrothal. She is like the small children, who find
the old story new, no matter how often it is told with the very same
words, the same surprises, and the self-same “Snip, snap, snout, my
tale’s out,” while Leander is more exacting and grows weary as soon
as his feeling no longer makes him new to himself. When he ceases
to be intoxicated, he suddenly becomes more than sober. The flush
and glamor of his ecstasy, which for a while gave him the assurance
of a demigod, suddenly departs; he hesitates, he thinks, and begins
to doubt. He looks back at the chequered course of his passion,
heaves a sigh, and yawns. He is beset with longing, like one who
has come home after a lengthy sojourn in foreign parts, and sees
the altogether too familiar though long-forgotten spots before him;
as he looks at them, he wonders idly whether he has really been
gone from this well-known part of the world so long.
In such a mood, Ulrik Frederik sat at home one rainy day in
September. He had called in his dogs and had frolicked with them for
a while, had tried to read, and had played a game of backgammon
with Marie. The rain was pouring. It was impossible to go walking or
riding, and so he had sought his armory, as he called it, thinking he
would polish and take stock of his treasures—this was just the day
for it! It occurred to him that he had inherited a chest of weapons
from Ulrik Christian; he had ordered it brought down from the attic,
and sat lifting out one piece after another.
There were splendid rapiers of bluish steel inlaid with gold, or
silvery bright with dull engraving. There were hunting-knives, some
heavy and one-edged, some long and flexible like tongues of flame,
some three-edged and sharp as needles. There were toledo blades,
many toledos, light as reeds and flexible as willows, with hilts of
silver and jasper agate, or of chased gold or gold and carbuncles.
One had nothing but a hilt of etched steel, and for a sword-knot a
little silk ribbon embroidered in roses and vines with red glass beads
and green floss. It must be either a bracelet, a cheap bracelet, or—
Ulrik Frederik thought—more likely a garter, and the rapier was stuck
through it.
It comes from Spain, said Ulrik Frederik to himself, for the late
owner had served in the Spanish army for nine years. Alack-a-day!
He too was to have entered foreign service with Carl Gustaf; but
then came the war, and now he supposed he would never have a
chance to get out and try his strength, and yet he was but three and
twenty. To live forever here at this tiresome little court,—doubly
tiresome since the nobility stayed at home,—to hunt a little, look to
his estate once in a while, some time in the future by the grace of
the King to be made Privy Councillor of the Realm and be knighted,
keep on the right side of Prince Christian and retain his office, now
and then be sent on a tedious embassy to Holland, grow old, get the
rheumatism, die, and be buried in Vor Frue Church,—such was the
brilliant career that stretched before him. And now they were
fighting down in Spain! There was glory to be won, a life to be lived
—that was where the rapier and the sword-knot came from. No, he
must speak to the King. It was still raining, and it was a long way to
Frederiksborg, but there was no help for it. He could not wait; the
matter must be settled.
The King liked his scheme. Contrary to his custom, he assented
at once, much to the surprise of Ulrik Frederik, who during his whole
ride had debated with himself all the reasons that made his plan
difficult, unreasonable, impossible. But the King said Yes, he might
leave before Christmas. By that time the preparations could be
completed and an answer received from the King of Spain.
The reply came in the beginning of December, but Ulrik Frederik
did not start until the middle of April; for there was much to be
done. Money had to be raised, retainers equipped, letters written.
Finally he departed.
Marie Grubbe was ill pleased with this trip to Spain. It is true, she
saw the justice of Mistress Rigitze’s argument that it was necessary
for Ulrik Frederik to go abroad and win honor and glory, in order that
the King might do something handsome for him; for although his
Majesty had been made an absolute monarch, he was sensitive to
what people said, and the noblemen had grown so captious and
perverse that they would be sure to put the very worst construction
on anything the King might do. Yet women have an inborn dread of
all farewells, and in this case there was much to fear. Even if she
could forget the chances of war and the long, dangerous journey,
and tell herself that a king’s son would be well taken care of, yet she
could not help her foreboding that their life together might suffer
such a break by a separation of perhaps more than a year that it
would never be the same again. Their love was yet so lightly rooted,
and just as it had begun to grow, it was to be mercilessly exposed to
ill winds and danger. Was it not almost like going out deliberately to
lay it waste? And one thing she had learned in her brief married life:
the kind of marriage she had thought so easy in the days of her
betrothal, that in which man and wife go each their own way, could
mean only misery with all darkness and no dawn. The wedge had
entered their outward life; God forbid that it should pierce to their
hearts! Yet it was surely tempting fate to open the door by such a
parting.
Moreover, she was sadly jealous of all the light papistical feminine
rabble in the land and dominions of Spain.
Frederik the Third, who, like many sovereigns of his time, was much
interested in the art of transmuting baser metals into gold, had
charged Ulrik Frederik when he came to Amsterdam to call on a
renowned alchemist, the Italian Burrhi, and to drop a hint that if he
should think of visiting Denmark, the King and the wealthy Christian
Skeel of Sostrup would make it worth his while.
When Ulrik Frederik arrived in Amsterdam, he therefore asked
Ole Borch, who was studying there and knew Burrhi well, to conduct
him to the alchemist. They found him a man in the fifties, below
middle height, and with a tendency to fat, but erect and springy in
his movements. His hair and his narrow moustache were black, his
nose was hooked and rather thick, his face full and yellow in color;
from the corners of his small, glittering black eyes innumerable
furrows and lines spread out like a fan, giving him an expression at
once sly and goodhumored. He wore a black velvet coat with wide
collar and cuffs and crape-covered silver buttons, black knee-
breeches and silk stockings, and shoes with large black rosettes. His
taste for fine lace appeared in the edging on his cravat and shirt
bosom and in the ruffles that hung in thick folds around his wrists
and knees. His hands were small, white, and chubby, and were
loaded with rings of such strange, clumsy shapes that he could not
bring the tips of his fingers together. Large brilliants glittered even
on his thumbs. As soon as they were seated, he remarked that he
was troubled with cold hands and stuck them in a large fur muff,
although it was summer.
The room into which he conducted Ulrik Frederik was large and
spacious, with a vaulted ceiling and narrow Gothic windows set high
in the walls. Chairs were ranged around a large centre table, their
wooden seats covered with soft cushions of red silk, from which
hung long, heavy tassels. The top of the table was inlaid with a
silver plate on which the twelve signs of the zodiac, the planets, and
some of the more important constellations were done in niello.
Above it, a string of ostrich eggs hung from the ceiling. The floor
had been painted in a chequered design of red and gray, and near
the door a triangle was formed by old horseshoes that had been
fitted into the boards. A large coral tree stood under one window,
and a cupboard of dark carved wood with brass mountings was
placed under the other. A life-size doll representing a Moor was set
in one corner, and along the walls lay blocks of tin and copper ore.
The blackamoor held a dried palm leaf in his hand.
When they were seated and the first interchange of amenities
was over, Ulrik Frederik—they were speaking in French—asked
whether Burrhi would not with his learning and experience come to
the aid of the searchers after wisdom in the land of Denmark.
Burrhi shook his head.
“’Tis known to me,” he replied, “that the secret art has many
great and powerful votaries in Denmark, but I have imparted
instruction to so many royal gentlemen and church dignitaries, and
while I will not say that ingratitude or meagre appreciation have
always been my appointed portion, yet have I encountered so much
captiousness and lack of understanding, that I am unwilling to
assume again the duties of a master to such distinguished scholars.
I do not know what rule or method the King of Denmark employs in
his investigations, and my remarks can therefore contain no
disparagement of him, but I can assure you in confidence that I
have known gentlemen of the highest nobility in the land, nay,
anointed rulers and hereditary kings, who have been so ignorant of
their historia naturalis and materia magica that the most lowborn
quacksalver could not entertain such vulgar superstitions as they do.
They even put their faith in that widely disseminated though
shameful delusion that making gold is like concocting a sleeping-
potion or a healing-pillula, that if one has the correct ingredients, ’tis
but to mix them together, set them over the fire, and lo! the gold is
there. Such lies are circulated by catch-pennies and ignoramuses—
whom may the devil take! Cannot the fools understand that if ’twere
so simple a process, the world would be swimming in gold? For
although learned authors have held, and surely with reason, that
only a certain part of matter can be clarified in the form of gold, yet
even so we should be flooded. Nay, the art of the gold-maker is
costly and exacting. It requires a fortunate hand, and there must be
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com