/** * Constructor * @param n number of dimensions * @param d box size */ PolyBCFactory(int n, int d, const std::string& str) : mN(n), mD(d) { mN = n; mD = d; mPobj = createPobj(str); mProb = createProb(); }
//////////////////////////////////////////////////////////////////////////////// //initialise, finalise, uodate MtxLP::MtxLP(bool max, int kind, int msg_lev, int tm_lim, int it_lim, string name){ createProb(); setObjDir(max); setKind(kind); setName(name); this->ret_cod = 0; this->vmax = 1; this->msg_lev = msg_lev; this->tm_lim = tm_lim; this->it_lim = it_lim; this->mip_gap = MIP_GAP; }