title: how to access the solution values for all variables which are in a matrix form?
body: <p><em>(Note: this question relates to <a href="http://en.wikipedia.org/wiki/CPLEX" rel="nofollow">IBM's ILOG CPLEX</a> C++ API, documentation for which circa 2007 is in a pdf via HTTP <a href="http://www-eio.upc.es/lceio/manuals/cplex-11/pdf/refcppcplex.pdf" rel="nofollow">here</a>, and current materials for "version 12" available <a href="ftp://ftp.software.ibm.com/software/websphere/ilog/docs/optimization/cplex/" rel="nofollow">via IBM's FTP</a>)</em></p>
  
  <p>I have a matrix variable and I want to transfer their values to a matrix parameter.
  This is what I did:</p>
  
  <pre><code>typedef IloArray&lt;IloNumArray&gt; NumMatrix;
  typedef IloArray&lt;IloBoolVarArray&gt; BoolVarMatrix;
  
  NumMatrix ystar(env,I);
  for(IloInt i = 0; i &lt; I; i++){
      ystar[i] = IloNumArray(env, T);
  }
  
  BoolVarMatrix y(env,I);
  for(IloInt i = 0; i &lt; I; i++){
      y[i] = IloBoolVarArray(env, T);
  }
  
  for(IloInt i = 0; i &lt; I; i++)
      cplex_master.getValues(ystar[i],y[i]);
  </code></pre>
  
  <p>But apparently <code>getValues()</code> only works with <code>IloNumVarArray</code>. How can I fix this?</p>