Lukas, Note that the example you provided specifies names for each constraint (c1 and c2):
> Constraints: > c1: 398 x1 + 151 x2 + 129 x3 + 275 x4 + 291 x5 <= 800 > c2: 111 x1 + 139 x2 + 56 x3 + 54 x4 + 123 x5 <= 200 In contrast, the test code you attached has no names for the constraints. What happens is that OPL searches for a colon in each constraint and assumes that anything before it is the name. When no colon is found, the whole line is used as the name, which is limited to 255 characters in GLPK. This is a bug in OPL, and you should report it. However the obvious workaround of adding a name in your constraint should work. Best Regards, Chris Matrakidis _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
