I have a 2x2 integer matrix A and 2d integers vectors b, c. I want to maximize c∙x under the constrains x≥0 and Ax≤b when x ranges over 2d integer vectors. This is a canonical form of two-dimensional integer linear program.
Is there an implementation of an efficient algorithm solving this problem with clear documentation/explanation?
It is easy to find some academic papers but I find it challenging to implement the pseudocode from those papers.