Try our new documentation site (beta).
FuncMaxVal
Maximum allowed value for x and y variables in function constraints with piecewise-linear approximation
Type: | double | |
---|---|---|
Default value: | 1e+6 | |
Minimum value: | 0 | |
Maximum value: | Infinity |
Very large values in piecewise-linear approximations can cause
numerical issues. This parameter limits the bounds on the variables
that participate in function constraints approximated by
a piecewise-linear function. Specifically, any bound
larger than FuncMaxVal
(in absolute value) on the variables
participating in such a function constraint will be truncated.
If the FuncNonlinear attribute of
the constraint is set to 1, or if it is set to -1 and the
global FuncNonlinear parameter is
set to 1, the function constraint is not approximated by a piecewise-linear
function and the FuncMaxVal
parameter does not apply.
For examples of how to query or modify parameter values from our different APIs, refer to our Parameter Examples.
![](/wp-content/plugins/hd_documentations/content/images/documentation-ampl-guide.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-cloud.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-example-tour.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-quick-start.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-reference-manuals.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-remote-services.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-linux.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-mac-osx.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-windows.webp?x70725)