<< maxplusisegv Min-Max-Plus And Petrinet maxplusmaxalgol >>

Min-Max-Plus And Petrinet >> Min-Max-Plus And Petrinet > maxpluslinsol

maxpluslinsol

Max-plus algebra linear solution to A⊗x=b.

Calling Sequence

[x] = maxpluslinsol(A,b)

Parameters

A
: an input matrix of size m by- n.
b
: an input matrix of size m by - 1 .
x
: ouput vektors x of size n by - 1 solution to A⊗x=b.

Description

Function returns solutions x to A⊗x=b,

If there are no solutions then x are solutions optimal to A⊗x≤b

Examples

A=[3 -%inf 0;1 1 0;-%inf 1 2];
A
b=[1;2;3];
b
[x]=maxpluslinsol(A,b)
// Check that x solutions to A⊗x=b
 isequal(maxplusotimes(A,x),b)
// This means that x solutions to A⊗x=b

Author

"Max-Plus Algebra And Petrinet Toolbox", ver. 1.1.0, February, 2013.

See Also


Report an issue
<< maxplusisegv Min-Max-Plus And Petrinet maxplusmaxalgol >>