Lines Matching defs:ctype
938 int coin_getcoltype(COINprob* lp, char* ctype, int start, int end)
947 if (lp->Solver->isContinuous(i)) ctype[j++] = 'C';
948 else if (lp->Solver->isInteger(i)) ctype[j++] = 'I';
949 else if (lp->Solver->isBinary(i)) ctype[j++] = 'B';
956 int coin_chgcoltype(COINprob* lp, int cnt, int* idxs, char* ctype)
964 if (ctype[i] == 'C') lp->Solver->setContinuous(j);
965 else if (ctype[i] == 'I') lp->Solver->setInteger(j);
966 else if (ctype[i] == 'B') lp->Solver->setInteger(j); // no setBinary()
1227 int coin_setcoltype(COINprob* lp, char *ctype)
1232 if (ctype[i] == 'C') lp->Solver->setContinuous(i);
1233 else if (ctype[i] == 'I') lp->Solver->setInteger(i);
1234 else if (ctype[i] == 'B') lp->Solver->setInteger(i); // no setBinary()