Introduction to linear programming:- - Linear programming (LP) applies to optimization models in which the objective and constraints functions are strictly linear. - The…