User Portlet User Portlet

Discussions
I want to optimize a function, with a constraint that requires a variable to be 0 or 1, not other value. How do I do that? Depending on how I do this it may converge or not. Thanks!
Hi. The problem is: 1) I have this data data = {{0., 0.}, {0.05, 0.4651}, {0.1, 0.6433}, {0.15, 0.7298}, {0.2, 0.779}, {0.25, 0.81}, {0.3, 0.831}, {0.35, 0.8462}, {0.4, 0.8576}, {0.45, 0.8664}, {0.5, 0.8736}, {0.55,...