| Cv2SolveLP Method |
Solve given (non-integer) linear programming problem using the Simplex Algorithm (Simplex Method).
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static SolveLPResult SolveLP(
InputArray func,
InputArray constr,
OutputArray z
)
Public Shared Function SolveLP (
func As InputArray,
constr As InputArray,
z As OutputArray
) As SolveLPResult
public:
static SolveLPResult SolveLP(
InputArray^ func,
InputArray^ constr,
OutputArray^ z
)
static member SolveLP :
func : InputArray *
constr : InputArray *
z : OutputArray -> SolveLPResult
Parameters
- func
- Type: OpenCvSharpInputArray
This row-vector corresponds to \f$c\f$ in the LP problem formulation (see above).
It should contain 32- or 64-bit floating point numbers.As a convenience, column-vector may be also submitted,
in the latter case it is understood to correspond to \f$c^T\f$. - constr
- Type: OpenCvSharpInputArray
`m`-by-`n+1` matrix, whose rightmost column corresponds to \f$b\f$ in formulation above
and the remaining to \f$A\f$. It should containt 32- or 64-bit floating point numbers. - z
- Type: OpenCvSharpOutputArray
The solution will be returned here as a column-vector - it corresponds to \f$c\f$ in the
formulation above.It will contain 64-bit floating point numbers.
Return Value
Type:
SolveLPResult[Missing <returns> documentation for "M:OpenCvSharp.Cv2.SolveLP(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray)"]
See Also