title: GA with integer and linear constraints in MATLAB global optimization toolbox
body: <p>According to the documentation of global optimization toolbox "ga does not enforce linear constraints when there are integer constraints. Instead, ga incorporates linear constraint violations into the penalty function".</p>
  
  <p>In an optimization problem, I am trying to solve if linear constraints are violated, other constraints will return non-real values. How can I tackle this issue?</p>
  
  <p>Simplified version of problem</p>
  
  <p>Objective Function : min a + b </p>
  
  <pre><code>                 0 &lt;= a &lt;= 10
  
                   0 &lt;= b &lt;= 10
  </code></pre>
  
  <p>Subject to;  </p>
  
  <pre><code>                 a*b - 25*a &lt; 0
  
                   theta &lt; 0 
  </code></pre>
  
  <p>Where theta is function of a and b, and returns non-real value if first constraint is not satisfied</p>