title: C# Cplex setting parameters
body: <p>I am working on simple optimization problem. My model is working but it takes too much time as number of inputs increases.
  I wrote my code in c# using CPLEX.</p>
  
  <p>So, I want to stop it when MIPGAP=0.5 but I couldn't find how to do it. </p>
  
  <p>How, where and what should I add to my code to stop it when it reaches 0.5 gap.</p>
  
  <p>Thank you advance.</p>