Initializing help system before first use

# Building models

This chapter shows in detail how the textual description of a real world problem is converted into a mathematical model. We introduce an example problem, optimal portfolio selection, that will be used throughout this book.

Though not requiring any prior experience of Mathematical Programming, when formulating the mathematical models we assume that the reader is comfortable with the use of symbols such as x or y to represent unknown quantities, and the use of this sort of variable in simple linear equations and inequalities, for example:

x+y ≤ 6

which says that `the quantity represented by x plus the quantity representetd by y must be less than or equal to six'.

You should also be familiar with the idea of summing over a set of variables. For example, if producei is used to represent the quantity produced of product i then the total production of all items in the set ITEMS can be written as:

∑i ∈ ITEMS producei

This says `sum the produced quantities producei over all products i in the set ITEMS'.

Another common mathematical symbol that is used in the text is the all-quantifier ∀ (read `for all'): if ITEMS consists in the elements 1,4,7,9 then writing

∀ i ∈ ITEMS: producei ≤ 100

is a shorthand for

produce1 ≤ 100
produce4 ≤ 100
produce7 ≤ 100
produce9 ≤ 100

Computer based modeling languages, and in particular the language we use, Mosel, closely mimic the mathematical notation an analyst uses to describe a problem. So provided you are happy using the above mathematical notation the step to using a modeling language will be straightforward.

Covered Topics

- Example problem

Parent Topic Getting Started

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.