title: How to initialise value for LPVARIABLE.matrix in PULP?
body: <p>I am trying to set initial values for the below created decision variable, but when I try to do am getting an error?</p>
  <pre class="lang-py prettyprint-override"><code>
  dec_var = LpVariable.matrix(&quot;dec_var&quot;,(range(10),range(10)),0,1,cat = 'Binary')
  
  for i in range(10):
      for j in range(10):
          dec_var[i][j].setInitialValue(temp_matrix[i][j])
  </code></pre>