public VariableKind this[int index] {
     get { return((VariableKind)GLPK.glp_get_col_kind(mip.problem, index + 1)); }
     set { GLPK.glp_set_col_kind(mip.problem, index + 1, (int)value); }
 }