Professional Documents
Culture Documents
This
This is
is a
a very
very basic
basic example
example ofof how
how you
you can
can set
set up
up aa series
series of
of decision
decision variables
variables to
to optimize
optimize choices
choices across
across what
what product
product
used,
used, and
and capacity
capacity (in
(in this
this case
case pressing
pressing time
time and
and inventory).
inventory). This
This model
model could
could easily
easily be
be modified
modified and
and scaled
scaled to
to take
take into
into
this
this example,
example, assume
assume your
your company
company manufactures
manufactures pallets
pallets using
using a
a common
common parts
parts inventory
inventory of
of glue,
glue, pine
pine chips,
chips, and
and oak
oak ch
ch
of
of pressing
pressing time.
time. Both
Both pressing
pressing time
time and
and parts
parts are
are in
in limited
limited supply
supply and
and you
you must
must determine
determine the
the most
most profitable
profitable mix
mix of
of pro
pro
Decision
Decision Variables
Variables Variable
Variable Bounds
Bounds
In
In this
this example
example youyou need
need to to decide
decide the
the optimal
optimal mix
mix of
of Since
Since we
we won't
won't bebe making
making aa negative
negative number
number of
of pallets,
pallets, we've
we've
pallets
pallets toto produce.
produce.AsAs aa result,
result, we
we have
have set
set cells
cells set
set each
each variable's
variable's lower
lower bound
bound to
to 0.
0. These
These lower
lower bounds
bounds
C18:F18 appear
appear in
in the
the Model
Model Task
Task Pane
Pane as
as Number_to_build
Number_to_build >= >= 0.
0.
C18:F18 as as our
our Decision
Decision Variables
Variables and
and have
have created
created
the
the defined
defined name,
name, Number_to_build.
Number_to_build. Alternatively,
Alternatively, we could set Assume Non-Negative to True on
we could set Assume Non-Negative to True on
the
the Engine
Engine tab
tab of
of the
the Task
Task Pane.
Pane.
Panel Type
Tahoe Pacific Savannah Aspen
Pallets 0 0 0 0 Total Profit
Profit $450 $1,150 $800 $400 $0
Model
Model Notes
Notes
Although
Although this
this is
is a
a good
good basic
basic example
example of of a
a product
product mix
mix problem,
problem, bear
bear inin mind the limitations
mind the limitations of
of this
this model.
model. For
For example,
example, ma ma
in
in the
the model
model --
-- we
we assume
assume that
that itit does
does not
not matter
matter how
how many
many pallets
pallets of
of each
each type
type we
we build,
build, we
we will
will always
always bebe able
able to
to sell
sell the
the
maximum
maximum number
number of of products
products that
that are
are required
required to
to be
be manufactured.
manufactured. The
The effect
effect of
of introducing
introducing these
these restrictions
restrictions can
can be
be stud
stud
can
can create after the status bar shows "Solver found a solution." by clicking Reports on the RSP ribbon and then selecting O
create after the status bar shows "Solver found a solution." by clicking Reports on the RSP ribbon and then selecting O
Example 1
ces
ces across
across what
what products
products to
to produce
produce based
based onon product
product profit,
profit, parts
parts
and
and scaled
scaled to
to take
take into
into account
account demand,
demand, many
many more
more products,
products, etc.
etc. For
For
e,
e, pine
pine chips,
chips, and
and oak
oak chips,
chips, and
and each
each pallet
pallet requires
requires a
a certain
certain amount
amount
ost
ost profitable
profitable mix
mix of
of products
products to
to build.
build.
Model
Model Building
Building Tip:
Tip: Defined
Defined Names
Names
ff pallets,
pallets, we've
we've In
In aa large
large model,
model, using
using defined
defined names
names for
for aa range
range of
of
er bounds
wer bounds variables
variables or or constraint
constraint cells
cells will
will create
create aa more
more readable
readable
build
build >=
>= 0.
0. model
model for for the
the User.
User. To
To create
create aa defined
defined name,
name, simply
simply
ve to True on
e to True on select
select thethe range
range ofof cells
cells you
you want
want toto name
name (for
(for example
example
C18:F18),
C18:F18), click click Formulas
Formulas on on the
the Excel
Excel Ribbon,
Ribbon, andand then
then
select
select Name
Name Manager.
Manager.
Objective
Objective Function
Function
Our
Our objective
objective in in this
this model
model isis to
to maximize
maximize profit.
profit. As
As aa
result,
result, we
we have
have chosen
chosen toto maximize
maximize our our Objective
Objective
located
located in
in cell
cell G19
G19 and
and named
named this this cell
cell Total_profit.
Total_profit.
Constraints
Constraints
The
The example
example model
model contains
contains four
four constraints
constraints which
which limit
limit
the
the number
number of
of parts
parts or
or pressing
pressing time
time used
used per
per product
product to
to
the
the amount
amount available.
available. In
In the
the Model
Model tab
tab of
of the
the Task
Task Pane,
Pane,
these
these constraints
constraints appear
appear as:
as: Number_Used
Number_Used <= <=
Number_Available.
Number_Available.
model.
model. For
For example,
example, market
market demand
demand and
and price
price elasticity
elasticity are
are not
not included
included
ways
ways bebe able
able to
to sell
sell them.
them. Nor
Nor are
are there
there any
any pre-specified
pre-specified minimum
minimum or or
restrictions
restrictions can
can be
be studied
studied by
by examining
examining a a Sensitivity
Sensitivity Report,
Report, which
which you
you
on
on and
and then
then selecting
selecting Optimization
Optimization and
and then
then Sensitivity.
Sensitivity.
363835983.xlsx
A B C D E F G H I J K L M N
1
Page 3