SolveLPResult
import { SolveLPResult } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
return codes for cv::solveLP() function
Constructors and members
static SOLVELP_LOST
problem is feasible, but solver lost solution due to floating-point arithmetic errors
SOLVELP_LOST: SolveLPResultValue<-3>,static SOLVELP_UNBOUNDED
problem is unbounded (target function can achieve arbitrary high values)
SOLVELP_UNBOUNDED: SolveLPResultValue<-2>,static SOLVELP_UNFEASIBLE
problem is unfeasible (there are no points that satisfy all the constraints imposed)
SOLVELP_UNFEASIBLE: SolveLPResultValue<-1>,static SOLVELP_SINGLE
there is only one maximum for target function
SOLVELP_SINGLE: SolveLPResultValue<0>,static SOLVELP_MULTI
there are multiple maxima for target function - the arbitrary one is returned
SOLVELP_MULTI: SolveLPResultValue<1>These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.