MathProgram Tutorial
MathProgram Tutorial
The red boxes are marked because they either need a formula, or they are the values th
changing in solver. It will be up to you to determine what is the best variable to change.
to the layout of each problem, and understand the formulas already in place before yo
solve the problem. The red boxes that ask for the objective, variables, and constraints M
out. You can fill these out with a statement or a mathematical expression: "The numb
produced must be less than or equal to demand" or "Donuts produced <= Demand." P
taken off if these sections are not complete.
Burritos
Steak Chicken Veggie Mega What is the optimal number of each
How many should I make? 1 1 1 1 burrito to make? We don't want to e
demand because we would not be a
Demand 100 100 50 150 sell the extra. We want to maximize
We also cannot use more ingredient
Burritos we have available.
Ingredients Steak Chicken Veggie Mega
Beans 1 1 1 1
Rice 1 1 1 1 What is the objective?
Chicken 0 2 0 1
Steak 2 0 0 1 What can change to achieve the obje
Veggies 1 1 2 1
What are the constraints?
Total Profit $ -
he optimal number of each type of
o make? We don't want to exceed
because we would not be able to
extra. We want to maximize profit.
cannot use more ingredients than
we have available.
he objective?
the constraints?
labor ounces of Johan the jeweler makes diamo
hours per diamonds Minimum and earrings. He wants to work
Made Unit profit unit per unit Demand month. He has 800 ounces of di
time, and ounces of diamonds r
40.00 Bracelet $ 300.00 0.35 1.2 75
product are given. If demand for
20.00 Necklace $ 200.00 0.15 0.75 50 beyond the minimum, how can J
30.00 Earrings $ 100.00 0.05 0.5 100 Finish the model by completing t
he objective?
the constraints?
Potato Chips Production
t is the objective?
Total Points
We want to set the total points for the final exam to exactly 500. We
have a certain number of questions already made, but we haven't
decided on point allocations. We need to change the point allocations to
arrive at the 500 points. The allocations must be between the minimum
and maximum suggestions. Calc questions must be worth at least 2
more points than T/F and Mult. VBA questions must be worth at least 5
more points than Calc. All allocations must be whole numbers.