Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Can an empty solution be better than optimal?
Date: Thu, 5 Nov 2009 04:49:01 +0000 (UTC)
Organization: PatientsLikeMe
Lines: 22
Message-ID: <hctlft$cv5$1@fred.mathworks.com>
References: <hcte3m$afn$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257396541 13285 172.30.248.37 (5 Nov 2009 04:49:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 5 Nov 2009 04:49:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1841757
Xref: news.mathworks.com comp.soft-sys.matlab:582614


"Dmitry " <dmitry_vasilyev@yahoo.com> wrote in message <hcte3m$afn$1@fred.mathworks.com>...
> Hello,
> 
> In certain "pathological" problems it might be better not to provide a result, but to return empty matrix. For example:
> [1 1;
> 1 3]
> 
> Solution is obviously [3]. But the score will be 15. Whereas if no solution is provided, score is 12. 
> 
> Is this something the program should take care of? 
> 
> - Dmitry

In certain "pathological" posts, it might be better not to provide an answer, but rather to try to better understand the question.

What do you mean that the "solution" to

> [1 1; 1 3]

is obviously [3]?  That's just an array.  It has no "solution."  It is also by no means clear what you mean by "score".

the cyclist