Basic question on langrange multipliers

  • Thread starter Cyclops
  • Start date
In summary, the conversation discusses an optimization problem with three equations and limits for three variables. The goal is to minimize the values of the variables while making sure they are within the given limits and add up to a specific value. The question of visualizing the problem is raised, with the suggestion of representing each function on its own plane. However, it is not clear how the F's relate to minimizing the variables and the specific problem being solved is not defined.
  • #1
Cyclops
14
0
I am not sure how to visualize the following three equations

F1(P1)= 561 + 7.92 P1+ 0.00156 P1^2F2(P2)= 310 + 7.85 P2 + 0.00194 P2^2F3(P3) = 78 + 7.97 P3 + 0.00482P3^2

150 <= P1 <= 600
100 <= P2 <= 400
50 <= P3 <=200
P1+P2+P3 = 850

This is an optimisation problem with limits. Do I consider each of the functions on their own plane - for example F1(P1) would be on the xy plane. F2(P2) would be on the zx plane and F3(P3) would be on another plane. P1+P2+P3 would then be a plane that cuts each of them and we find the gradient vector from there.
 
Last edited:
Mathematics news on Phys.org
  • #2
What exactly are you trying to optimize?
 
  • #3
I am trying to minimise P1, P2,P3. F1&F2&F3 are cost functions. P1, P2 and P3 must be within the limits above and they must add up to 850. The question set is a lagrangrian multiplier question for generation despatch. What I question is, to visualize this problem - does each function have its own plane ie could we rewrite the question as y = 561 + 7.92 x1+ 0.00156 x1^2, z = 310 + 7.85 x2 + 0.00194 x2^2 and (some other plane)=78 + 7.97 x3 + 0.00482x3^2. The langrange is then the point on each plane where the plane
x1+x2+x3 = 850 cuts the other planes as long as these points are within the constraints given. I ask this because all the examples for lagrangian mulitpliers I have seen are in one plane - the xy plane
 
Last edited:
  • #4
Cyclops said:
I am not sure how to visualize the following three equations

F1(P1)= 561 + 7.92 P1+ 0.00156 P1^2


F2(P2)= 310 + 7.85 P2 + 0.00194 P2^2


F3(P3) = 78 + 7.97 P3 + 0.00482P3^2

150 <= P1 <= 600



100 <= P2 <= 400



50 <= P3 <=200



P1+P2+P3 = 850

This is an optimisation problem with limits. Do I consider each of the functions on their own plane - for example F1(P1) would be on the xy plane. F2(P2) would be on the zx plane and F3(P3) would be on another plane. P1+P2+P3 would then be a plane that cuts each of them and we find the gradient vector from there.

Cyclops said:
I am trying to minimise P1, P2,P3.
If you are trying to minimize the P's, why do you need the F's?
 
  • #5
The F is just to state that it is function. F1(P1) means the function of P1
 
  • #6
Right, but what do these functions have anything to do with minimizing the P's?

Are you trying to minimize the F's instead?

If not, why are they part of the problem?
 
  • #7
EnumaElish - it was just the way the assignment was written. The solution of the problem is straightforward - just plug in the values to the lagrange equation. My concern was how to imagine the solution space of the problem. I have found a book which in effect states that the solution space is all in one plane - ie the equations could be rewritten as
y1= 561 + 7.92 x1+ 0.00156 x1^2


y2= 310 + 7.85 x2 + 0.00194 x2^2


y3 = 78 + 7.97 x3 + 0.00482x3^2

I had not quite worked out what the solution space of the problem was - was it 2 dimensional or more dimensions. I do not know if that makes any sense. My apologies if I have wasted your time.
 
  • #8
The answer depends on what each of the F's represent.

For example I can think of the P's being input prices and each F being a cost function based on some implicit production technology. In this case I'd represent all three F's on the same axis.

Although unlikely, it is not impossible that each F represents a different dimension. For example, F1 = cost, F2 = utility, and F3 = profit. Even in this case it may be possible to represent all three quantities in terms of a common unit (e.g. dollars), and put them on the same axis.
 
Last edited:
  • #9
The answer depends upon a well defined question being posed. As yet none has been.

Cyclops, if you have some specific problem in mind, such as minimizing the sum of the F’s, or perhaps minimising the sum of the squares of the F’s or whatever then you have to specify that as part of the problem or otherwise it’s meaningless.
 

1. What are Langrange multipliers and what is their purpose?

Langrange multipliers are a mathematical tool used to optimize a function subject to one or more constraints. They allow us to find the maximum or minimum value of a function while satisfying the given constraints.

2. How do I use Langrange multipliers to solve optimization problems?

To use Langrange multipliers, you first need to set up the objective function and the constraints. Then, you can use the Langrange multiplier equation to find the optimal solution by solving a system of equations.

3. What is the intuition behind Langrange multipliers?

The intuition behind Langrange multipliers is that the optimal solution for a constrained optimization problem must satisfy two conditions: the gradient of the objective function must be parallel to the gradient of the constraint, and the constraint must be satisfied at the optimal solution.

4. Can Langrange multipliers be used for both single and multiple constraints?

Yes, Langrange multipliers can be used for both single and multiple constraints. For multiple constraints, we simply add additional terms for each constraint to the Langrange multiplier equation.

5. In what fields are Langrange multipliers commonly used?

Langrange multipliers are commonly used in various fields of science and engineering, such as economics, physics, and machine learning. They are particularly useful for solving optimization problems that involve constraints, such as maximizing profits subject to resource constraints.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
7K
Replies
7
Views
4K
Back
Top