[Date Index] [Thread Index] [Author Index]
Re: Request for help - Minimize
On 3/13/09 at 4:50 AM, 33554142 at 163.com (zhuoxin lee) wrote: >Please see the codes below (note the codes are used to show the >problem, they may not executable). I use array CE to store the >results of the function Minimize. Minimize may return error (because >constraints[i] can not be satisfied). So I want to neglect the >result in this case, I don't want the program stops in this case. >How can I manage it? Look at the function Check. It has the form Check[expr, errorExpr] and returns the result of expr if there is no error and the result of errorExpr is there is an error.