Scott,
There is no need to "introduce" variables -- just use them. All the variable assignments you do are unnecessary and can lead to problems.
You seem to be very confused about when to use = and when to use ==. The single equal is an assignment -- think of it as a shortcut -- when you use it, Mathematica will immediately replace the left hand name with the right side.
The == is used to construct equations -- you only use this if you need an equation -- most of your model does not need equations and you only need them for the constraints in Minimize.
This is the cause of your errors. When you do
rawResourceAllocation =
rawAllocation == {{r1p1, r2p1, r3p1}, {r1p2, r2p2, r3p2}, {r1p3,
r2p3, r3p3}};
you believe that you can take parts of rawAllocation -- you cannot! it is only a variable in an equation. If you want to take parts, you must do this:
rawAllocation = {{r1p1, r2p1, r3p1}, {r1p2, r2p2, r3p2}, {r1p3,
r2p3, r3p3}};
You repeat this mistake throughout your model. You really never need == in this application. In this type of problem you will ONLY use == if you have a constraint such as
variable == 50, or
variable1 + variable2==50.
Otherwise you do not need it in your problem.
You are very close. Send me an email at neils at the domain in my profile. I can give you better suggestions that way.
Regards