Code: Use the functions: constrain( name, a, b, (optional: importance, default 1) ); to set constraints. print( ... ) to print text output... or printvar(variable) to print the variable nicely. variable( name, initial_guess, initial_diff ); sets up variables. You may alter iterations = 1000, by default and falloff = .99 by default. You can also look at constrain_error to get what the current RMS error is.

Order goes: variables, your code, constraints, prints

Constrain Results:

Text Output: