Hi, I have a problem.
What are the values alpha to be inserted in
the command constraints Penalty?
Thanks.
Penalty Method
Moderators: silvia, selimgunay, Moderators
Re: Penalty Method
It should be a very big number.
I usually go with this:
constraints Penalty 1.0e14 1.0e14
I usually go with this:
constraints Penalty 1.0e14 1.0e14
Re: Penalty Method
it really depends on your model and the units .. the number has to be big enough to enforce the constraint, but not too large so that stiffness terms get lost due to roundoff or the terms cause conditioing problems when the matrix equation and it is solved .. you need to play with it, look at the results and see if the constraints you want are being enforced to your satisfaction.