Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6346 > unrolled thread

Question on two-stage optimization of polynomials: how to draw a response function?

Started bylao kn <laoknn@gmail.com>
First post2011-11-10 12:08 +0000
Last post2011-11-10 12:08 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Question on two-stage optimization of polynomials: how to draw a response function? lao kn <laoknn@gmail.com> - 2011-11-10 12:08 +0000

#6346 — Question on two-stage optimization of polynomials: how to draw a response function?

Fromlao kn <laoknn@gmail.com>
Date2011-11-10 12:08 +0000
SubjectQuestion on two-stage optimization of polynomials: how to draw a response function?
Message-ID<j9geso$p54$1@smc.vnet.net>
I need to solve an optimization problem. Please offer your insights.
Suppose there are two functions (my case is more complicated than this
example).

f(x,y)=x-y, 0<x<1, 0<y<1
g(x,y)=x*y, 0<x<1, 0<y<1

The goal is to get the maximum values for f(x,y) and g(x,y). However,
it is not simultaneous, but sequential. In the first stage, only x can
be chosen to maximize f(x,y); in the second stage only y can be chosen
to maximize g(x,y).

To solve this problem, I should start from the second stage, say, let
x varies from 0 to 1, and get each y that maximizes g(x,y). or in
another word, derive the best response function y*=v(x). Then I can
put the response function back to f(x,y) and solve for the x that
maximizes f(x,y).

An easy way is to get the reponse function is to differentiate g(x,y)
respect to y, and the set it to zero: df/dy=0, and the response
function is at hand. However, my case is too complex to get the
differentiation. Therefore I need to solve the problem numerically.

Therefore, what I want is a function or a curve that can let x varies
from 0 to 1 and see the best response value of y. Even if I can not
get a response function, I hope I can get a response curve drawn by
Mathematica.

Can someone help me out this trouble?

Many thanks

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web