In my optimization problem, the independent variables are ten points in 2D space: ( x1, y1), (x2, y2), ..., (x10, y10). The constraint is that these ten points should lie on either one of 3 lines with known equations:
However I wonder if it is possible to form it in a form of a linear constraint so that I can use my linear programming code to solve the problem ( the cost function is already linear to the independent variables). Do you have any idea to do it?
Or if not, can you have any idea to rewrite the constraint in a simplifier form?