Perhaps the command you want here is "reset data". If a has been declared as a
parameter and you execute
reset data a;
then a is set back to its default value, if you have given it one by writing,
say, "param a default 7.7;". If a has no default value then reset data causes
it to have no value until you again assign it one.
The same is true when reset data is applied to a variable, except that the
variable will automatically have a default value of 0 if you don't give it one.
Note that you can write, for example, "reset data a, b, x;" to reset more than
one parameter and/or variable at the same time.
Bob Fourer
4...@ampl.com