Clear Filters
Clear Filters

how to write such that in matlab

3 views (last 30 days)
birunda
birunda on 7 Nov 2012
if the equation is determined with respect to some criterias, how i have to write codings in matlab
for eg:
Min α∑_i▒〖a xi+β∑_i▒〖fi(v)(1-xi)〗〗 such that ( (p_i τ_1)⁄(1+ p_i τ_1)xi ≤) 10^-θ_1 i € TC ((u_i τ_2)⁄(1+u_i τ_2)) (1-xi) ≤ 10^-θ_2 i € BC
  2 Comments
José-Luis
José-Luis on 7 Nov 2012
What have you done so far? People will be more willing to help you if you make some effort yourself.
Jan
Jan on 7 Nov 2012
I cannot read the question. I get some symbols looking like a pile of spaghetti after the "Sigma_i". Then a kind of double brackets follow. Later on there is a Euro-character and a "xi <= )", which is no valid syntax in any computer or math language I know.
Please, birunda, could you post the equation less tricky?

Sign in to comment.

Answers (1)

Harshit
Harshit on 7 Nov 2012
You have to use lagrange multiplier. You can easily understand it from here http://en.wikipedia.org/wiki/Lagrange_multiplier and there is an inbuilt function for it.
Regards,
Harshit

Community Treasure Hunt

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

Start Hunting!