Thread Subject: Can an objective function be zero?

Subject: Can an objective function be zero?

From: Sameer VK

Date: 6 Jun, 2008 09:53:01

Message: 1 of 4



can an Objective function be zero? If yes, what can we infer
from the values of the individual variables that we get
after optimization using linear programming? If no, why?

Subject: Can an objective function be zero?

From: John D'Errico

Date: 6 Jun, 2008 10:31:02

Message: 2 of 4

"Sameer VK" <sameervk.iitkgp@gmail.com> wrote in message
<g2b1dt$46m$1@fred.mathworks.com>...
>
>
> can an Objective function be zero? If yes, what can we infer
> from the values of the individual variables that we get
> after optimization using linear programming? If no, why?

Why not? Its just a number, like any other.
The fact that zero is the additive identity
does nothing here.

It tells you nothing, although an exact zero
is unlikely. Assuming that you have not
made an error by providing a zero vector
for f, or that you have made a sign error
in defining your problem, there is no
information content in a zero.

John

Subject: Can an objective function be zero?

From: Sebastiaan

Date: 6 Jun, 2008 11:29:01

Message: 3 of 4

"Sameer VK" <sameervk.iitkgp@gmail.com> wrote in message
<g2b1dt$46m$1@fred.mathworks.com>...
>
>
> can an Objective function be zero? If yes, what can we infer
> from the values of the individual variables that we get
> after optimization using linear programming? If no, why?

I assume you mean specifing an objective function. When the
objective function is 0 (or any other constant), the
optimization problem becomes a feasibility problem, e.g.
check if there exists a solution which respects the
constraints. Once such a solution is found, the algorithm
just exits, with any feasible x.

E.g. min 0
s.t. 1<x<2

The result could be any x between (1,2).

min 0
s.t. x>2
     x<1

is an infeasible problem, for which no x exist.

I have no idea how Matlab's optimization functions handle
these cases.

Cheers,
Sebastiaan

Subject: Can an objective function be zero?

From: John D'Errico

Date: 6 Jun, 2008 13:06:02

Message: 4 of 4

"Sebastiaan " <s.breedveld@erasmusmc.REMOVE.BOO.BOO.nl> wrote in
message <g2b71t$ru8$1@fred.mathworks.com>...
> "Sameer VK" <sameervk.iitkgp@gmail.com> wrote in message
> <g2b1dt$46m$1@fred.mathworks.com>...
> >
> >
> > can an Objective function be zero? If yes, what can we infer
> > from the values of the individual variables that we get
> > after optimization using linear programming? If no, why?
>
> I assume you mean specifing an objective function. When the
> objective function is 0 (or any other constant), the
> optimization problem becomes a feasibility problem, e.g.
> check if there exists a solution which respects the
> constraints. Once such a solution is found, the algorithm
> just exits, with any feasible x.
>
> E.g. min 0
> s.t. 1<x<2
>
> The result could be any x between (1,2).
>
> min 0
> s.t. x>2
> x<1
>
> is an infeasible problem, for which no x exist.
>
> I have no idea how Matlab's optimization functions handle
> these cases.


Interesting. I'd interpret the OP's question as one
where he found f'*x was exactly 0. Since this means
only that f and x are orthogonal to each other, or
that x was identically zero at the returned point.

If the OP has set the objective function to a fixed
constant then it means something entirely different.
You are not optimizing anything at that point, the
algorithm will stop at any feasible point.

I'd ask the OP to tell us what they really meant.

John

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
optimization in linear programming Sameer VK 6 Jun, 2008 05:55:06
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com