MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Request for help - Minimize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97507] Re: Request for help - Minimize
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sat, 14 Mar 2009 05:41:38 -0500 (EST)

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.



  • Prev by Date: Re: Request for help - Minimize
  • Next by Date: Re: max. value in a plot?
  • Previous by thread: Re: Request for help - Minimize
  • Next by thread: Re: Request for help - Minimize