Constraint a 9x9 matrix

In reply to juhi_p:

In reply to dave_59:
how should D1 declared and initialized with ?

Sorry, I had a typo. D1 should have been item1. Fixed in the code above.