Path: news.mathworks.com!not-for-mail From: "lovish " <lovishagarwal@gmail.com> Newsgroups: comp.soft-sys.matlab Subject: Re: Optimization problem Date: Sun, 12 Apr 2009 19:04:01 +0000 (UTC) Organization: The MathWorks, Inc. Lines: 24 Message-ID: <grtdv1$ou$1@fred.mathworks.com> References: <grrdtl$b6f$1@fred.mathworks.com> <grrp03$6m3$1@fred.mathworks.com> Reply-To: "lovish " <lovishagarwal@gmail.com> NNTP-Posting-Host: webapp-05-blr.mathworks.com Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: fred.mathworks.com 1239563041 798 172.30.248.35 (12 Apr 2009 19:04:01 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Sun, 12 Apr 2009 19:04:01 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 1189748 Xref: news.mathworks.com comp.soft-sys.matlab:532177 I apologize for the same. Being new to the community I wasn't aware of this fact of continuing with the old post. Secondly for using simple calculus method in this problem, Please guide me as to how you used simple calculus to find maxf(x). Other than that,this is just a sample of a extremely complex problem which I;m working on and I wonder whether calculus can work for equations which involves 20 variables. If it can work , please let me know the methodology that you are using. I apologize once again for the inconvenience caused to you and other members. I have to apologize that without reading your this post,I posted another questions which has the same flavor as a new thread. I sincerely apologize for that too. I will take care of such things in future. "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <grrp03$6m3$1@fred.mathworks.com>... > "lovish " <lovishagarwal@gmail.com> wrote in message <grrdtl$b6f$1@fred.mathworks.com>... > > I am having problems with plotting the graph of function using optimization tool. Suppose I have to maximize > > max f(x)= log (x1) + log (x2) + log (x3) > > with the constraints that x1+x2 <=1 ; x1+x3<=1 > > ..... > > I believe most of us in this newsgroup find it annoying when someone begins a brand new thread which only repeats a question they already asked in a prior thread. It wastes a lot of peoples' time this way. Instead you should return to the earlier thread and just present whatever additional questions or elucidations you have arrived at in the meantime. > > Here you have posed the very same question as you did in the "Problem regarding Maximizing a function" thread of March 30. This gives those of us who responded to that earlier thread the impression that you are ignoring what we have suggested to you. > > In particular I suggested to you that you could avoid using matlab entirely and find the answer, log(4/27), using simple calculus (assuming x1, x2, & x3 are all positive.) You have not even asked about the reasoning used in finding the maximum this way. > > Roger Stafford