title: Too many constraints in the optimization experiments
body: <p>I'm trying to run an optimization experiment that has 2460 constraints. I have defined them one by one on the constraints section. I used x1, x2, x3...etc to reduce the number of bytes as recommended by anylogic support according to this article in the article : <a href="https://noorjax.com/2018/10/17/your-agent-is-too-big-memory-problem/" rel="nofollow noreferrer">https://noorjax.com/2018/10/17/your-agent-is-too-big-memory-problem/</a></p>
  <p>However, I'm getting the following error</p>
  <blockquote>
  <p>The code of method reset() is exceeding the 65535 bytes limit</p>
  </blockquote>
  <p>in Optimization.java, the error is in the following line:</p>
  <pre><code>@Override  
  @AnylogicInternalCodegenAPI  
  public void reset() {  
  setLogBufferLength( 65535 );
  </code></pre>
  <p>I think this is because Anylogic is storing the constraints as &quot;constraints&quot; or something like this, so reducing the name of the constraints itself to be (x1, x2...) does not help.</p>
  <p><strong>Is there a way to load constraints from a data file instead of hardcoding them in the constraints panel of the optimization experiment?</strong> to avoid the 65535 bytes limit in the Java code
  Or do you have any other suggestions?
  (I know 2460 are too many constraints, but I need them if I don't want to reduce the number of parameters and I don't want to relax constraints)</p>