Retrieve the values of the dual variables (the reduced costs) from a successfully solved lpSolve linear program model object.
get.dual.solution(lprec)
Arguments
lprec: an lpSolve linear program model object.
Returns
a numeric vector containing the values of the dual variables. If an error occurs (for instance lprec has not been successfully solved) a NULL value is returned.