MathGroup Archive 2014

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

Search the Archive

Re: Compact formulation of array of constraints


Thanks to all respondents for your very useful help.

Paul


On Sunday, January 12, 2014 7:24:39 AM UTC, Harvey P. Dale wrote:
> Table[x[n] >= 0, {n, 0, 5}]
> 
> 
> 
> 	Best,
> 
> 
> 
> 	Harvey
> 
> 
> 
> -----Original Message-----
> 
> From: Paul Smith [mailto:phhs80 at gmail.com]
> 
> Sent: Saturday, January 11, 2014 2:36 AM
> 
> Subject: Compact formulation of array of constraints
> 
> 
> 
> Dear All,
> 
> 
> 
> How can one formulate the set of constraints
> 
> 
> 
> x[1] >= 0, x[1] >= 0, x[2] >= 0, x[3] >= 0, x[4] >= 0, x[5] >= 0
> 
> 
> 
> by using a compact form?
> 
> 
> 
> Thanks in advance,
> 
> 
> 
> Paul




  • Prev by Date: Re: For 2014?
  • Next by Date: Downloading Multiple Files Via Import and FTP
  • Previous by thread: Re: Compact formulation of array of constraints
  • Next by thread: Re: Compact formulation of array of constraints