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, Jim! Thank you for your reply. It was very useful. At first I would like to recommend you this function in case you want to edit an expression in short time: StringReplace[" 4.5289452342107005e-7 + 15.253009862753892*x - \ ...