title: MiniZinc Array Declaration
body: <p>How can I declare an array in MiniZinc, similar to the below Java code where the size of second dimension of the 2D array is not same for all?</p>
  
  <pre><code>int numV=5
  int[] numActs=new int[numV];
  double[][] min=new double[numV][];
  
  for(int i=0;i&lt;numV;i++){
     for(int j=0;j&lt;numActs[i];j++){
        min[i][j]=&lt;some value&gt;;
      }
  }
  </code></pre>