I am working on a math problem with a bunch of equation like the ones below
x1 and x2 are variables
Constraints
x1 + x2 <= z
ax1 + bx2 < p;
cx1 + dx2 < q;
I need to maximise profit, which looks like this in terms of equation
maximize ex1+fx2
Does anybody how to solve these equations to maximise profit?