public double this[int index] {
     get { return(GLPK.glp_get_obj_coef(mip.problem, index + 1)); }
     set { GLPK.glp_set_obj_coef(mip.problem, index + 1, (int)value); }
 }