Optimization Problem: Minimizing an Objective Function with a Constraint

  • Context: Graduate 
  • Thread starter Thread starter malcolm60
  • Start date Start date
  • Tags Tags
    Optimization
Click For Summary

Discussion Overview

The discussion revolves around an optimization problem involving minimizing an objective function with a constraint in the context of energy optimization in multiprocessor systems. Participants explore the mathematical formulation of the problem, focusing on the relationship between the variables and constants involved.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the objective function E = U*x / (1-yC)^2 and the constraint x*y = L, seeking assistance in minimizing E.
  • Another suggests reducing the objective function to a single variable using the constraint, implying the use of calculus for optimization.
  • A participant notes that both x and y are discrete variables, which may affect the optimization approach.
  • There is speculation that the discrete solution might be close to the continuous solution.
  • Graphing the function E is proposed as a method to understand its behavior better.
  • One participant questions how to verify that the continuous solution is optimal for discrete variables and seeks methods for this verification.
  • Another participant discusses the implications of the constants U, C, and L being positive integers and their impact on minimizing the fraction represented by E.
  • Concerns are raised about the optimal value of y being dependent solely on C, which seems counterintuitive to some participants.
  • There is a suggestion to analyze the behavior of the objective function at the boundaries, particularly as y approaches zero or becomes very large.
  • A later reply indicates that the optimal value for y could be expressed as a function of C, and emphasizes the need to check the values at the boundaries for a complete analysis.

Areas of Agreement / Disagreement

Participants express differing views on the implications of the constants and the relationship between the variables. While some agree on the need to analyze the function's behavior and boundaries, there is no consensus on the optimal approach or the implications of the results.

Contextual Notes

Participants mention the need for a refined discrete set to ensure the optimal solution aligns with the continuous case. There are also discussions about the irrelevance of certain constants in the optimization process, which may depend on the specific values of U, C, and L.

malcolm60
Messages
6
Reaction score
0
Help -- Optimization Problem

Hello people,
I am working on certain energy optimization problems in multiprocessor systems.
My objective function is:

E= U*x / (1-yC)^2

where U and C are constants and x and y are independent variables. I need to minimize this function under the constrain that

x*y = L.
where L is another constant.

i.e. I need the values of x and y which minimize E
Can anyone help me with this?

Thanks for your time :smile:
 
Physics news on Phys.org
Well, you could use the constraint to reduce your objective function to have a single variable, then you can simply apply calc I.
 
I am sorry I forgot to mention that x and y are discrete variables.
 
I'd bet the discrete answer is near the continuous answer!
 
And a quick graph of E gives a very strong suggestion of the behavior of your objective function!
 
Thanks Hurky,
Is there some way to check that the solution with continuous variables is optimal even for discrete variables, just the method would do great, i can look it up.

Also what is the strong suggestion you observe from the graph of E?

Thanks
 
Have you tried graphing it yet?
 
Edit: if C * L is small, then ignore this post, its observation will be irrelevant.


Or, here's another way to look at it... x and y are both supposed to be positive integers, right? What kind of things are U, C, and L? Also positive integers?

If you're trying to minimize a fraction, what do you want to do to its numerator? What do you want to do to its denominator? Can you think of any good way to do that, respecting the constraint?
 
Last edited:
Yes I have graphed it. For the values of the constants I used
U=0.006
C=0.00146

it seems to be a plane
 
  • #10
I meant after using the constraint to reduce your objective function to a function in just one variable. (I'd suggest x)
 
  • #11
Yes all the constants are positive. the thing is the optimum value I get for y is a function of C only. This does not seem correct as it suggests that y is a constant too.
 
  • #12
Hrm, good call, it does seem much better to put things in terms of y, not x!


It suggests the optimal value for y is a constant (but you knew that).

It's clear from the form of the objective function that the value of U is irrelevant: its net effect is simply to multiply your function by a fixed constant. I was surprised at first to hear that L is irrelevant too, but again when you're thinking in terms of y, the L just winds up being another multiplicative constant.


Anyways, if you got y = 1/(3c), I agree, that is the only local minimum. You also need to check the values at the "boundary": E is really small when y is very large, but E is very large when y is near zero.


If your discrete set is sufficiently refined, then it should be obvious from the shape of the graph that the optimal y has to either be 1/(3c) (rounded one way or the other), or the maximum possible value of y. If you want a rigorous proof, you could show it by analyzing where the objective function is increasing or decreasing.
 
  • #13
Thanks Hurkyl,
Will try that out :smile:
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
19
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K