Okay I've been toiling away at this all night - can't even figure out what type of problem this is (multivariable optimization or linear programming?). Here it is.
Code:
Given constants k1, k2, k3, k4, k5, k6, k7
and variables R, U, B, Q
Optimize the largest value of R where
R = U(k1)
with the constraints
U(k1) - B(k2) - Q(k3) = 0
and
U(k4)+B(k5)+Q(k6) = (k7)
it seems pretty simple but I can't get it to work, I need it in this general term since I'm basing a model off of it. Do I need another formula to solve the system or is this more of a multivariable optimization problem?