Effacer les filtres
Effacer les filtres

maximising with dynamic parameters

3 vues (au cours des 30 derniers jours)
econgrad
econgrad le 1 Août 2013
The function I have looks like this: ln(1+a*x1+b*x2). I need to maximise this with respect to x1 and x2 but for each choice of x1 and x2 the values of a and b would also change. For example if x1=1 and x2=2 then a=2 and b=3 , x1=2 and x2=2 then a=1 and b=4 and so on. Please suggest if this can be done and how it can be approached.
  2 commentaires
Roger Stafford
Roger Stafford le 2 Août 2013
You wrote "and so on" way too soon. You need to explain the relationship between the x1,x2 pair values and the corresponding a,b pair values in much greater detail before any useful advice can be given as to how to maximize your function value.
econgrad
econgrad le 11 Août 2013
thank you so much for your reply and sorry for being late. let me give you the detail description: a and b are implicit functions i.e. a=a(x1,x2,c1,c2) and b=b(x1,x2,c1,c2). When x1 and x2 changes, c1 and c2 would also change and that change has to obtained by finding the fixed points of a(x1,x2,c1,c2) and b(x1,x2,c1,c2). After finding the new c1,c2 by fixed point iteration, I get a new a(x1,x2,c1,c2) & b(x1,x2,c1,c2).

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by