Login
Login

Reply To: Constrained Optimization

Home 21090308 Forums Numerical Method Optimization Constrained Optimization Reply To: Constrained Optimization

#2896
hao.ding
Member

Hi,

I took a look at your constraint program, and found that your first, second and fourth constraints are same.
First constraint: sum(q)<=batch Second constraint: sum(q)<= d.size/2 (although you loop i from 1 to split point, but sum is sum(d)) Fourth constraint: sum(q)<=d.size Would you please let me know if I understand your constraints correctly? Also may I have your data and the program where you call QuasiNewtonOptimizer so I can debug your problem? Thanks.