getslack


Purpose
Get the slack value of a constraint.
Synopsis
function getslack(c:linctr):real
Argument
A linear constraint
Return value
Slack value or 0.
Further information
This function returns the slack value of a constraint if the problem has been solved successfully and the constraint is contained in the problem, otherwise 0 is returned.
Related topics
getdual, getrcost, getsol.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.