Max-plus algebra linear solution to A⊗x=b.
[x] = maxpluslinsol(A,b)
Function returns solutions x to A⊗x=b,
If there are no solutions then x are solutions optimal to A⊗x≤b
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 | ![]() | ![]() |