A typical Feasible Region with two variables x=x1 and y=x2
In an optimization problem, the objective is the mathematical expression for the factor you want to optimize. (Typically an optimization problem will have only one objective)
An example of an objective could be x+3y
A constraint is an equation which must be satisfied in the optimization problem.
An optimization problem generally has multiple constraints and one objective, which is the mathematical expression to optimize.
A point that fits all the constraints is called feasible.
When working on an optimization problem, the first step is to graph the feasible region.
In an optimization problem, one of the corner points of the feasible region graph will be the maximum.
A shop sells t-shirts for $20 each and jeans for $70 each and wants to maximize profit. The objective would be written 20x + 70y. The variable x represents the number of t-shirts and y represents the number of jeans.
A farm can grow several different plants on a field (say p1, p2, and p3). With each plant is a unit cost (say c1, c2, and c3). They farm only has d dollars to spend, but has a unit revenue of r1, r2, and r3. The objective would then be (r1-c1)p1+(r2-c2)p2+(r3-c3)p3 subject to the constraints p1, p2, p3>=0 and c1r1+c2r2+c3r3<=d