help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] comparing variable binary vector to each row of static matri


From: malekro
Subject: [Help-glpk] comparing variable binary vector to each row of static matrix
Date: Mon, 6 Jun 2011 17:25:28 -0700 (PDT)

hello, 

is there a way to compare a binary vector to each row of a matrix and
maximize the number of matches? so far i was only able to find ways that
violate linearity. 

the way i want to apply this is with a matrix where cells can have wildcard
flags for example: 
10* 
101 
111 
*01 

the best solution has a score of 3 (three rows match) with this vector: 
101 

thanks in advance, 
manuel
-- 
View this message in context: 
http://old.nabble.com/comparing-variable-binary-vector-to-each-row-of-static-matrix-tp31787965p31787965.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]