Hello All,

Thanks in advance for taking the time to read this and trying to help.

I am working through an optimization problem, I have three variables and one constraint. My mathematical background doesn't go beyond high school calculus and I was never particularly adept so I'm hoping that whatever explanation is offered explains the issue to me like the math simpleton that I am. The problem is as follows:

I am trying to optimize the number of units of three different products that are sold at three different prices. We have a target revenue figure, meaning we know what we want the final equation to sum upto but unlike the simple substitution method one would apply to two variables I am at a loss for what to do for three.

175X + 225Y + 500Z = 7385, where

X+Y+Z=18

Look forward to your responses, if you need further information or I've misunderstood something please feel free to ask and I'll do my best to clarify.