Solve Quadratic Programming Problems - Get Help Here!

  • Context: Undergrad 
  • Thread starter Thread starter angel
  • Start date Start date
  • Tags Tags
    Programming Quadratic
Click For Summary

Discussion Overview

The discussion revolves around solving quadratic programming problems, specifically focusing on formulating a profit maximization problem involving two types of machines produced by a shop. Participants seek clarification on the methodology and formulation of such problems.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • One participant expresses confusion about how to approach quadratic programming problems and seeks help.
  • Another participant requests an explanation of quadratic programming.
  • A specific example is provided involving the production of machines A and B, detailing costs and selling prices, and suggesting a profit function formulation.
  • Further elaboration on the profit function is presented, showing how to derive it from total selling price and total cost price, leading to a quadratic expression.
  • Participants discuss the formulation process, noting that it resembles linear programming but involves a quadratic function to optimize.

Areas of Agreement / Disagreement

Participants appear to agree on the general approach to formulating the profit function, but there is no explicit consensus on the overall understanding of quadratic programming as a whole.

Contextual Notes

The discussion does not address specific assumptions or limitations in the example provided, nor does it clarify any unresolved mathematical steps in the formulation process.

Who May Find This Useful

Individuals interested in quadratic programming, profit maximization problems, or those seeking assistance with related homework questions may find this discussion beneficial.

angel
Messages
18
Reaction score
0
hi,

Just wondering if anyone knows how to do Quadratic Programming, I'm attempting some questions but I am confused.
So anyone know how to do it?
 
Mathematics news on Phys.org
explain this quadratic programming...
 
an example is provided below which will help u understand it:

a shop produces two types of sweet machines A and B. it costs the shop £40 to make each machine A and £70 to make each machine of B.

from research it is suggested that that if the selling price of A and B are set as F and P then they will sell X of A and Y of B and the relationships are given by:
F=£220-3x and P=£250-2Y

Now how would u formulate this problem, the answer u should get is:

-3x^2-2y^2+180X+180Y
 
What you want to do (assuming reasonable human behavior) is maximize the profit, Pr.
If x of A are produced, and y of B, then the profit is the total selling price, TSP, minus the total cost price, TCP.

Pr = TSP - TCP = TSP(A) - TCP(A) + TSP(B) - TCP(B)
= xF - 40x + yP - 70y, where F and P are as described.

Substituting for F, P, you get

Pr = x(220 - 3x) - 40x +y(250 - 2y) -70y
= 220x - 3x^2 -40x + 250y -2y^2 -70y
= 180x - 3x^2 +180y - 2y^2

That's how you formulate the profit function, which you now want to maximize. The formulation is done the same way as for a LP problem. The difference appears in the function you are optimizing, which is now a quadratic in the variables.
 
thanks a lot for that.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K