for(int i=0; i<coeff.length; i++)
coeff[i] = (i>=child.col && i<min(child.colspan+child.col, cols)) ? (float)1.0 : (float)0.0;
lp_h.add_constraint(coeff, LinearProgramming.GE, (float)child.contentwidth);
for(int i=0; i<coeff.length; i++)
coeff[i] = (i>=child.col && i<min(child.colspan+child.col, cols)) ? (float)1.0 : (float)0.0;
lp_h.add_constraint(coeff, LinearProgramming.GE, (float)child.contentwidth);