MATLAB: Can objective function of a linear programming model contain a constant term

constant termlinear programmingobjective-function

LP model Objective function: Max Z = a1x1+a2x2+a3x3+a4x4+K
where, x1,x2,x3,x4 are variables and K is a constant x1- product price, x2- product cost, x3- substitute price, x4-import price, K- transportation cost(shipping & handling charges)per unit product

Best Answer

Conjecture:
x* is optimal for
Max Z = a1x1+a2x2+a3x3+a4x4+K
if and only if x* is optimal for
Max Z = a1x1+a2x2+a3x3+a4x4
Thus it is sufficient to consider objective functions without a constant term.
Best wishes
Torsten.