as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
construct a linear programming problem that maximizes the profit from selling a certain product.
user
given a production line with limited resources and a cost for each ingredient, the objective of the linear programming problem is to maximize profit from selling the product by finding the optimal combination of ingredients. the problem is formulated as follows: 

maximize profit = (price of product - cost of ingredient 1 - cost of ingredient 2 - ... - cost of ingredient n)
subject to: 
- ingredient 1 quantity <= maximum available quantity 
- ingredient 2 quantity <= maximum available quantity 
- ... 
- ingredient n quantity <= maximum available quantity
assistant