getdual


Purpose
Get the dual value of a constraint.
Synopsis
function getdual(c:linctr):real
Argument
A linear constraint
Return value
Dual value or 0.
Further information
This function returns the dual 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
getrcost, getslack, getsol.


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