[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Most often constants are model values



Once you've created one model with assignments to all constants, it's
easy to create other models by cloning that model.

Except if your specification is evolving.
 
 

If you have so many constants that entering values for them is a problem,
you can write

   CONSTANT AllConstants
   Constant1 == AllConstants[1]
   ...
   Constant42 == AllConstants[42]

You can then assign AllConstants the value

   <<ModelValue1, ... , ModelValue42>>

and in the Model Values section of the Advanced Options page add the set

   {ModelValue1, ... , ModelValue42}

of model values.  If your spec has so many constant parameters, it
might be made easier to understand by grouping those parameters in
some way.

 
 
Thank you for the workaround, I'll try it.
 
FL