Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Fmincon: nonlinear binary problem
Replies: 10   Last Post: Apr 12, 2013 7:07 AM

 Messages: [ Previous | Next ]
 Anna Posts: 4 Registered: 4/10/13
Re: Fmincon: nonlinear binary problem
Posted: Apr 11, 2013 6:55 AM

I was just thinking that all these 3 constraints can be written as one

x_ik+x_jk>=2*z_ijk, right?

"Torsten" wrote in message <kk60l8\$l9i\$1@newscl01ah.mathworks.com>...
> Because you substitute x_ik*x_jk = min(x_ik,x_jk) , I think you will need z_ijk:
> z_ijk <= x_ik
> z_ijk <= x_jk
> z_ijk >= x_ik + x_jk - 1

Good point Torsten. Theoretically, I would need to index z over k but from other constraints I also know that there may be at most one k for which z_ijk=1 and I don't need to know the detailed information which k it is, but only the indication whether it happens at all. Would indexing z_ij be correct in that case? It's important to me to limit the size of the variables as well.

Regards,
Anna

Date Subject Author
4/9/13 Guest
4/9/13 Bruno Luong
4/9/13 Alan Weiss
4/10/13 Anna
4/11/13 Johan Lofberg
4/11/13 Anna
4/11/13 Torsten
4/11/13 Anna
4/12/13 Torsten
4/12/13 Anna
4/12/13 Torsten