Re: [Help-glpk] Operand following / has invalid type

2020-09-10 Thread Michael Hennebry
On Thu, 10 Sep 2020, Andrew Makhorin wrote: On Wed, 2020-09-09 at 18:17 -0300, yami...@cock.li wrote: I'm trying to make a program that populates a binary matrix keeping as  many blank lines as possible, e.g. Add another variable for each row in the binary matrix: z[row]>=m[row, col]

Re: [Help-glpk] Operand following / has invalid type

2020-09-09 Thread Andrew Makhorin
On Wed, 2020-09-09 at 18:17 -0300, yami...@cock.li wrote: > Hey, > > I'm trying to make a program that populates a binary matrix keeping > as  > many blank lines as possible, e.g. > > > 00| > > 11| > > 10| > > instead of > > > 10| > > 10| > > 10| > > > Since I know the sum of the lines won't

[Help-glpk] Operand following / has invalid type

2020-09-09 Thread yamifag
Hey, I'm trying to make a program that populates a binary matrix keeping as many blank lines as possible, e.g. |00| |11| |10| instead of |10| |10| |10| Since I know the sum of the lines won't be too big I decided to use an approach based on division, but I'm getting a "operand following