Gmpl How can I do this?

siirto1 <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <GsfVV2xZGA2K_Qv44qfqhOvfpFlWdISSEo_Dd6QIAr0qPAMVmGEUQEauLOEDC-hOdM0fhJVlo30hyYK90mpehmxwq7avDw9sRlPoJZ8QhdI=@protonmail.ch>
Hello

I am trying to do some simple gmpl model but as a complete beginner I noticed I cannot do it.

    col1 col2 col3
row1  x
row2  x    x
row3  x    x    x

Assign numbers 1..6 to the x cells so that every number has different row and col than the previous number.

I tried to look sudoku.mod and some other examples but those were too difficult to understand for now.

Br, Mikko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.