Would this be useful in solving the kinds of constraints found in ECAD layout?
GLPK can also do mixed-integer linear programming where some variables are integers like (0,1).
If you need to optimize something that is nonlinear, that requires something else I think, but read the doc.