Solve Quadratic Programming Problems - Get Help Here!

In summary, the conversation discusses quadratic programming and how to formulate a profit function for a shop producing two types of sweet machines. The goal is to maximize profit by setting selling prices for the machines.
  • #1
angel
18
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
  • #2
explain this quadratic programming...
 
  • #3
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
 
  • #4
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.
 
  • #5
thanks a lot for that.
 

Related to Solve Quadratic Programming Problems - Get Help Here!

1. What is quadratic programming?

Quadratic programming is a mathematical optimization technique used to solve problems that involve finding the minimum or maximum of a quadratic function, subject to a set of constraints.

2. What are some real-world applications of quadratic programming?

Quadratic programming is commonly used in fields such as finance, engineering, economics, and statistics to solve problems related to portfolio optimization, production planning, resource allocation, and data fitting.

3. How is a quadratic programming problem solved?

A quadratic programming problem is typically solved using specialized algorithms, such as the interior point method or active-set method, which involve iteratively improving upon an initial solution until an optimal solution is reached.

4. What are the main advantages of using quadratic programming?

Quadratic programming allows for the efficient and accurate solution of complex optimization problems involving quadratic functions and linear constraints. It also allows for the incorporation of multiple objectives and constraints, making it a versatile tool for real-world applications.

5. How can I get help with solving a quadratic programming problem?

If you are struggling to solve a quadratic programming problem, you can seek help from a mathematics tutor, consult online resources and tutorials, or use specialized software specifically designed for solving quadratic programming problems.

Similar threads

Replies
1
Views
1K
Replies
4
Views
803
Replies
2
Views
787
Replies
2
Views
980
Replies
3
Views
1K
  • General Math
Replies
5
Views
996
  • General Math
Replies
5
Views
1K
Replies
8
Views
822
Replies
6
Views
1K
Replies
7
Views
926
Back
Top