enum cv::SolveLPResult

Overview

return codes for cv::solveLP() function Moreā€¦

#include <optim.hpp>

enum SolveLPResult
{
    SOLVELP_UNBOUNDED  = -2,
    SOLVELP_UNFEASIBLE = -1,
    SOLVELP_SINGLE     = 0,
    SOLVELP_MULTI      = 1,
};

Detailed Documentation

return codes for cv::solveLP() function

Enum Values

SOLVELP_UNBOUNDED

problem is unbounded (target function can achieve arbitrary high values)

SOLVELP_UNFEASIBLE

problem is unfeasible (there are no points that satisfy all the constraints imposed)

SOLVELP_SINGLE

there is only one maximum for target function

SOLVELP_MULTI

there are multiple maxima for target function - the arbitrary one is returned