query
stringlengths
9
3.4k
document
stringlengths
9
87.4k
metadata
dict
negatives
listlengths
4
101
negative_scores
listlengths
4
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Obtains a long integer information item. getlintinf(self,whichliinf_)
def getlintinf(self,whichliinf_): ivalue_ = ctypes.c_int64() res = __library__.MSK_XX_getlintinf(self.__nativep,whichliinf_,ctypes.byref(ivalue_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) ivalue_ = ivalue_.value _ivalue_return_value = ivalue_ return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getlintinf(self,whichliinf_): # 3\n if not isinstance(whichliinf_,liinfitem): raise TypeError(\"Argument whichliinf has wrong type\")\n res,resargs = self.__obj.getlintinf(whichliinf_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _iv...
[ "0.80946934", "0.72867656", "0.6978907", "0.6415118", "0.5947596", "0.58325267", "0.5797108", "0.5752881", "0.5589606", "0.53243405", "0.53243405", "0.530509", "0.52829987", "0.5265193", "0.52526945", "0.52087086", "0.5194227", "0.5194157", "0.5146076", "0.512527", "0.512527"...
0.8262633
0
Obtains an integer parameter. getintparam(self,param_)
def getintparam(self,param_): parvalue_ = ctypes.c_int32() res = __library__.MSK_XX_getintparam(self.__nativep,param_,ctypes.byref(parvalue_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) parvalue_ = parvalue_.value _parvalue_return_value = parvalue_ re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getintparam(self,param_): # 3\n if not isinstance(param_,iparam): raise TypeError(\"Argument param has wrong type\")\n res,resargs = self.__obj.getintparam(param_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _parvalue_return_value =...
[ "0.85646707", "0.78389037", "0.7805483", "0.73943967", "0.73424447", "0.72594076", "0.70536864", "0.66357017", "0.6586575", "0.65700495", "0.64918053", "0.64472634", "0.6425993", "0.62868637", "0.625066", "0.6248809", "0.6234398", "0.62195563", "0.61886173", "0.61466604", "0....
0.8217122
1
Obtains number of preallocated nonzeros in the linear constraint matrix. getmaxnumanz(self)
def getmaxnumanz(self): maxnumanz_ = ctypes.c_int64() res = __library__.MSK_XX_getmaxnumanz64(self.__nativep,ctypes.byref(maxnumanz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) maxnumanz_ = maxnumanz_.value _maxnumanz_return_value = maxnumanz_ return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getmaxnumanz(self): # 3\n res,resargs = self.__obj.getmaxnumanz64()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _maxnumanz_return_value = resargs\n return _maxnumanz_return_value", "def getmaxnumqnz(self): # 3\n res,resargs =...
[ "0.7113383", "0.6982974", "0.679112", "0.67131674", "0.6668174", "0.6616303", "0.648749", "0.6467388", "0.64599353", "0.64472634", "0.64066577", "0.6371883", "0.6357519", "0.63474363", "0.6335987", "0.63080496", "0.6304118", "0.62958753", "0.6285672", "0.6259663", "0.62106687...
0.66526264
5
Obtains the number of preallocated constraints in the optimization task. getmaxnumcon(self)
def getmaxnumcon(self): maxnumcon_ = ctypes.c_int32() res = __library__.MSK_XX_getmaxnumcon(self.__nativep,ctypes.byref(maxnumcon_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) maxnumcon_ = maxnumcon_.value _maxnumcon_return_value = maxnumcon_ return (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getmaxnumcon(self): # 3\n res,resargs = self.__obj.getmaxnumcon()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _maxnumcon_return_value = resargs\n return _maxnumcon_return_value", "def getmaxnumcone(self): # 3\n res,resargs = ...
[ "0.759891", "0.6874313", "0.6721544", "0.659825", "0.6556438", "0.65256405", "0.6443037", "0.64323866", "0.6414494", "0.63860065", "0.63830274", "0.63426894", "0.63342726", "0.6323241", "0.63202226", "0.63005996", "0.62932444", "0.62694067", "0.62653077", "0.62133545", "0.619...
0.7039377
1
Obtains the maximum number variables allowed. getmaxnumvar(self)
def getmaxnumvar(self): maxnumvar_ = ctypes.c_int32() res = __library__.MSK_XX_getmaxnumvar(self.__nativep,ctypes.byref(maxnumvar_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) maxnumvar_ = maxnumvar_.value _maxnumvar_return_value = maxnumvar_ return (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getmaxnumvar(self): # 3\n res,resargs = self.__obj.getmaxnumvar()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _maxnumvar_return_value = resargs\n return _maxnumvar_return_value", "def getmaxnumbarvar(self): # 3\n res,resargs ...
[ "0.91340536", "0.8637792", "0.7974361", "0.7505648", "0.7296605", "0.7150658", "0.7150658", "0.70268613", "0.698536", "0.6970442", "0.6931399", "0.69260097", "0.6923727", "0.6923727", "0.68803716", "0.6879021", "0.6849884", "0.68469465", "0.6821696", "0.6783697", "0.6712363",...
0.8318064
2
Obtains the length of the name of a semidefinite variable. getbarvarnamelen(self,i_)
def getbarvarnamelen(self,i_): len_ = ctypes.c_int32() res = __library__.MSK_XX_getbarvarnamelen(self.__nativep,i_,ctypes.byref(len_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) len_ = len_.value _len_return_value = len_ return (_len_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarvarnamelen(self,i_): # 3\n res,resargs = self.__obj.getbarvarnamelen(i_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _len_return_value = resargs\n return _len_return_value", "def getvarnamelen(self,i_): # 3\n res,resarg...
[ "0.906098", "0.8285865", "0.80473113", "0.757455", "0.7460946", "0.68837076", "0.68781674", "0.6619891", "0.65064466", "0.6430593", "0.61780226", "0.6132598", "0.6126362", "0.61090654", "0.60909855", "0.60322", "0.597303", "0.59556276", "0.5942991", "0.5911243", "0.59078074",...
0.8887873
1
Obtains the name of a semidefinite variable. getbarvarname(self,i_)
def getbarvarname(self,i_): sizename_ = (1 + self.getbarvarnamelen((i_))) name_ = (ctypes.c_char * (sizename_))() res = __library__.MSK_XX_getbarvarname(self.__nativep,i_,sizename_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _name_retval = name_.val...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarvarname(self,i_): # 3\n sizename_ = (1 + self.getbarvarnamelen((i_)))\n arr_name = array.array(\"b\",[0]*((sizename_)))\n memview_arr_name = memoryview(arr_name)\n res,resargs = self.__obj.getbarvarname(i_,sizename_,memview_arr_name)\n if res != 0:\n result,msg = self.__ge...
[ "0.83525527", "0.7066876", "0.70244217", "0.6815771", "0.6767695", "0.6751615", "0.6699136", "0.6654075", "0.660367", "0.6567873", "0.65562636", "0.652688", "0.63431066", "0.6170237", "0.61540467", "0.6131156", "0.5982232", "0.59685725", "0.592272", "0.59037554", "0.5895002",...
0.8312654
1
Obtains the index of semidefinite variable from its name. getbarvarnameindex(self,somename_)
def getbarvarnameindex(self,somename_): if isinstance(somename_,unicode): somename_ = somename_.encode("utf-8",errors="replace") asgn_ = ctypes.c_int32() index_ = ctypes.c_int32() res = __library__.MSK_XX_getbarvarnameindex(self.__nativep,somename_,ctypes.byref(asgn_),ctypes.byref(index_)) if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarvarnameindex(self,somename_): # 3\n res,resargs = self.__obj.getbarvarnameindex(somename_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _asgn_return_value,_index_return_value = resargs\n return _asgn_return_value,_index_return_...
[ "0.87919295", "0.77998066", "0.758929", "0.73232466", "0.72942966", "0.70397556", "0.68763274", "0.6527494", "0.63246256", "0.6289317", "0.62172043", "0.6201318", "0.6189726", "0.6124115", "0.61120933", "0.61010575", "0.6051296", "0.6038391", "0.60204947", "0.5998834", "0.599...
0.8470228
1
Generates systematic names for variables. generatevarnames(self,subj_,fmt_,dims_,sp_)
def generatevarnames(self,subj_,fmt_,dims_,sp_): num_ = None if num_ is None: num_ = len(subj_) elif num_ != len(subj_): raise IndexError("Inconsistent length of array subj") if subj_ is None: raise ValueError("Argument subj cannot be None") if subj_ is None: raise ValueError...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def var_name(i, j):\n return \"x_\" + str(i) + \",\" + str(j)", "def _var_name_sub(self, sprintf, quote=False):\n q = ''\n if quote:\n q = \"'\"\n name_list = map(lambda x: q + self.cdict[x][0] + q, sprintf[\"vars\"] )\n return sprintf[\"text\"] % tuple(name_list)", ...
[ "0.6139157", "0.5973622", "0.5816728", "0.5790525", "0.57094544", "0.55101526", "0.5501698", "0.54202396", "0.5395023", "0.5386658", "0.5385736", "0.5382898", "0.5350833", "0.5279343", "0.5254986", "0.52490866", "0.5238918", "0.5237092", "0.523355", "0.5229274", "0.51856", ...
0.7959128
0
Generates systematic names for constraints. generateconnames(self,subi_,fmt_,dims_,sp_)
def generateconnames(self,subi_,fmt_,dims_,sp_): num_ = None if num_ is None: num_ = len(subi_) elif num_ != len(subi_): raise IndexError("Inconsistent length of array subi") if subi_ is None: raise ValueError("Argument subi cannot be None") if subi_ is None: raise ValueError...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def generateconenames(self,subk_,fmt_,dims_,sp_):\n num_ = None\n if num_ is None:\n num_ = len(subk_)\n elif num_ != len(subk_):\n raise IndexError(\"Inconsistent length of array subk\")\n if subk_ is None:\n raise ValueError(\"Argument subk cannot be None\")\n if subk_ is None:\n ...
[ "0.71432316", "0.6309858", "0.57458603", "0.5728091", "0.5542116", "0.5457417", "0.54459995", "0.5413401", "0.5405197", "0.5331198", "0.5301801", "0.5269671", "0.526506", "0.52508026", "0.5176214", "0.5176144", "0.51522493", "0.5143848", "0.50646645", "0.50584084", "0.505461"...
0.80321515
0
Generates systematic names for cone. generateconenames(self,subk_,fmt_,dims_,sp_)
def generateconenames(self,subk_,fmt_,dims_,sp_): num_ = None if num_ is None: num_ = len(subk_) elif num_ != len(subk_): raise IndexError("Inconsistent length of array subk") if subk_ is None: raise ValueError("Argument subk cannot be None") if subk_ is None: raise ValueErro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def generateconnames(self,subi_,fmt_,dims_,sp_):\n num_ = None\n if num_ is None:\n num_ = len(subi_)\n elif num_ != len(subi_):\n raise IndexError(\"Inconsistent length of array subi\")\n if subi_ is None:\n raise ValueError(\"Argument subi cannot be None\")\n if subi_ is None:\n ...
[ "0.74384165", "0.58503294", "0.5830912", "0.5807586", "0.5752899", "0.5612548", "0.5604318", "0.55963373", "0.5569974", "0.5561796", "0.54910266", "0.54244846", "0.5389508", "0.53837425", "0.53835374", "0.5380686", "0.5340771", "0.5326651", "0.53238434", "0.53188485", "0.5311...
0.7758646
0
Sets the name of a constraint. putconname(self,i_,name_)
def putconname(self,i_,name_): if isinstance(name_,unicode): name_ = name_.encode("utf-8",errors="replace") res = __library__.MSK_XX_putconname(self.__nativep,i_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putconname(self,i_,name_): # 3\n res = self.__obj.putconname(i_,name_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putconename(self,j_,name_): # 3\n res = self.__obj.putconename(j_,name_)\n if res != 0:\n result,msg = ...
[ "0.8193894", "0.7109492", "0.6670976", "0.66550237", "0.6557067", "0.6499532", "0.64980155", "0.6484204", "0.6475017", "0.6475017", "0.64716566", "0.64716566", "0.64716566", "0.64716566", "0.64716566", "0.64367193", "0.64367193", "0.64250505", "0.64250505", "0.64250505", "0.6...
0.7829893
1
Sets the name of a variable. putvarname(self,j_,name_)
def putvarname(self,j_,name_): if isinstance(name_,unicode): name_ = name_.encode("utf-8",errors="replace") res = __library__.MSK_XX_putvarname(self.__nativep,j_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putvarname(self,j_,name_): # 3\n res = self.__obj.putvarname(j_,name_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putbarvarname(self,j_,name_): # 3\n res = self.__obj.putbarvarname(j_,name_)\n if res != 0:\n result,ms...
[ "0.8883954", "0.7846457", "0.7583609", "0.7371796", "0.6804934", "0.6749491", "0.6718", "0.6678017", "0.6662674", "0.66056114", "0.66056114", "0.6533437", "0.65012705", "0.65012705", "0.6494305", "0.64568096", "0.64568096", "0.6420372", "0.64115626", "0.64104736", "0.6387735"...
0.8425244
1
Sets the name of a cone. putconename(self,j_,name_)
def putconename(self,j_,name_): if isinstance(name_,unicode): name_ = name_.encode("utf-8",errors="replace") res = __library__.MSK_XX_putconename(self.__nativep,j_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putconename(self,j_,name_): # 3\n res = self.__obj.putconename(j_,name_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putconname(self,i_,name_): # 3\n res = self.__obj.putconname(i_,name_)\n if res != 0:\n result,msg = ...
[ "0.8515966", "0.77436495", "0.7510013", "0.6582177", "0.6530854", "0.6465643", "0.64578557", "0.64150274", "0.63634545", "0.63573754", "0.63573754", "0.6346879", "0.6346033", "0.6333818", "0.6333818", "0.6333818", "0.6333818", "0.6326524", "0.6326524", "0.6326524", "0.6326524...
0.7865969
1
Sets the name of a semidefinite variable. putbarvarname(self,j_,name_)
def putbarvarname(self,j_,name_): if isinstance(name_,unicode): name_ = name_.encode("utf-8",errors="replace") res = __library__.MSK_XX_putbarvarname(self.__nativep,j_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbarvarname(self,j_,name_): # 3\n res = self.__obj.putbarvarname(j_,name_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putvarname(self,j_,name_): # 3\n res = self.__obj.putvarname(j_,name_)\n if res != 0:\n result,ms...
[ "0.8725043", "0.78685296", "0.73790705", "0.63185453", "0.62304795", "0.61820215", "0.6175833", "0.60793555", "0.60779697", "0.6025984", "0.5947061", "0.5932117", "0.58367765", "0.58295", "0.58150184", "0.5744822", "0.57223016", "0.5708944", "0.5708944", "0.57083535", "0.5683...
0.83028346
1
Obtains the length of the name of a variable. getvarnamelen(self,i_)
def getvarnamelen(self,i_): len_ = ctypes.c_int32() res = __library__.MSK_XX_getvarnamelen(self.__nativep,i_,ctypes.byref(len_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) len_ = len_.value _len_return_value = len_ return (_len_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getvarnamelen(self,i_): # 3\n res,resargs = self.__obj.getvarnamelen(i_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _len_return_value = resargs\n return _len_return_value", "def getbarvarnamelen(self,i_): # 3\n res,resargs =...
[ "0.91696215", "0.86523247", "0.83191776", "0.74700165", "0.74440676", "0.6821054", "0.6626158", "0.6521564", "0.64515024", "0.64394104", "0.640624", "0.63913447", "0.6386585", "0.62835014", "0.6280414", "0.6236239", "0.618746", "0.6163219", "0.61378926", "0.6079825", "0.60534...
0.8870697
1
Obtains the name of a variable. getvarname(self,j_)
def getvarname(self,j_): sizename_ = (1 + self.getvarnamelen((j_))) name_ = (ctypes.c_char * (sizename_))() res = __library__.MSK_XX_getvarname(self.__nativep,j_,sizename_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _name_retval = name_.value.decode...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getvarname(self,j_): # 3\n sizename_ = (1 + self.getvarnamelen((j_)))\n arr_name = array.array(\"b\",[0]*((sizename_)))\n memview_arr_name = memoryview(arr_name)\n res,resargs = self.__obj.getvarname(j_,sizename_,memview_arr_name)\n if res != 0:\n result,msg = self.__getlasterro...
[ "0.806976", "0.75603807", "0.7076541", "0.6987677", "0.6888855", "0.6750818", "0.65493554", "0.65462774", "0.6493769", "0.64399004", "0.6420192", "0.6387897", "0.6376338", "0.6375689", "0.6283686", "0.6280662", "0.627458", "0.6198005", "0.61735547", "0.616751", "0.61630327", ...
0.8035467
1
Obtains the length of the name of a constraint. getconnamelen(self,i_)
def getconnamelen(self,i_): len_ = ctypes.c_int32() res = __library__.MSK_XX_getconnamelen(self.__nativep,i_,ctypes.byref(len_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) len_ = len_.value _len_return_value = len_ return (_len_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getconnamelen(self,i_): # 3\n res,resargs = self.__obj.getconnamelen(i_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _len_return_value = resargs\n return _len_return_value", "def getconenamelen(self,i_): # 3\n res,resargs = s...
[ "0.8666037", "0.78833383", "0.745883", "0.7033554", "0.69469124", "0.6811607", "0.6778512", "0.6774401", "0.6771029", "0.6676001", "0.6658939", "0.6630528", "0.6565997", "0.65419215", "0.6404309", "0.63468707", "0.59039116", "0.564742", "0.56071514", "0.557387", "0.5483508", ...
0.84394306
1
Obtains the name of a constraint. getconname(self,i_)
def getconname(self,i_): sizename_ = (1 + self.getconnamelen((i_))) name_ = (ctypes.c_char * (sizename_))() res = __library__.MSK_XX_getconname(self.__nativep,i_,sizename_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _name_retval = name_.value.decode...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getconname(self,i_): # 3\n sizename_ = (1 + self.getconnamelen((i_)))\n arr_name = array.array(\"b\",[0]*((sizename_)))\n memview_arr_name = memoryview(arr_name)\n res,resargs = self.__obj.getconname(i_,sizename_,memview_arr_name)\n if res != 0:\n result,msg = self.__getlasterro...
[ "0.7562321", "0.7176524", "0.7070297", "0.66708857", "0.6398901", "0.6233792", "0.61329055", "0.6105304", "0.59759116", "0.591931", "0.58823484", "0.58433723", "0.57034266", "0.55915326", "0.5590233", "0.5582501", "0.55802125", "0.5559249", "0.55544347", "0.55529326", "0.5523...
0.73514813
1
Checks whether the name has been assigned to any constraint. getconnameindex(self,somename_)
def getconnameindex(self,somename_): if isinstance(somename_,unicode): somename_ = somename_.encode("utf-8",errors="replace") asgn_ = ctypes.c_int32() index_ = ctypes.c_int32() res = __library__.MSK_XX_getconnameindex(self.__nativep,somename_,ctypes.byref(asgn_),ctypes.byref(index_)) if res !=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getconnameindex(self,somename_): # 3\n res,resargs = self.__obj.getconnameindex(somename_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _asgn_return_value,_index_return_value = resargs\n return _asgn_return_value,_index_return_value"...
[ "0.75862104", "0.73473215", "0.680886", "0.6216551", "0.5881868", "0.5821118", "0.5779442", "0.5708629", "0.57045466", "0.56572694", "0.5601349", "0.5601233", "0.55782515", "0.55662966", "0.5479801", "0.54482204", "0.544205", "0.5440633", "0.54176635", "0.541504", "0.53852075...
0.71222585
2
Checks whether the name has been assigned to any variable. getvarnameindex(self,somename_)
def getvarnameindex(self,somename_): if isinstance(somename_,unicode): somename_ = somename_.encode("utf-8",errors="replace") asgn_ = ctypes.c_int32() index_ = ctypes.c_int32() res = __library__.MSK_XX_getvarnameindex(self.__nativep,somename_,ctypes.byref(asgn_),ctypes.byref(index_)) if res !=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getvarnameindex(self,somename_): # 3\n res,resargs = self.__obj.getvarnameindex(somename_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _asgn_return_value,_index_return_value = resargs\n return _asgn_return_value,_index_return_value"...
[ "0.7723354", "0.74287134", "0.7252143", "0.67752707", "0.63359547", "0.6250989", "0.6196766", "0.61298394", "0.6092207", "0.60200804", "0.5994221", "0.5933987", "0.5923833", "0.58925956", "0.58909446", "0.584231", "0.5841573", "0.5817763", "0.5812096", "0.5809692", "0.5740064...
0.7144752
3
Obtains the length of the name of a cone. getconenamelen(self,i_)
def getconenamelen(self,i_): len_ = ctypes.c_int32() res = __library__.MSK_XX_getconenamelen(self.__nativep,i_,ctypes.byref(len_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) len_ = len_.value _len_return_value = len_ return (_len_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getconenamelen(self,i_): # 3\n res,resargs = self.__obj.getconenamelen(i_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _len_return_value = resargs\n return _len_return_value", "def getconnamelen(self,i_): # 3\n res,resargs = ...
[ "0.87749386", "0.78596747", "0.76864165", "0.7421929", "0.7243701", "0.7168962", "0.7091672", "0.70586526", "0.6872572", "0.68703437", "0.68578297", "0.6839808", "0.6478438", "0.63468295", "0.62435097", "0.6238064", "0.61464494", "0.6096912", "0.60698086", "0.60670877", "0.60...
0.82536674
1
Obtains the name of a cone. getconename(self,i_)
def getconename(self,i_): sizename_ = (1 + self.getconenamelen((i_))) name_ = (ctypes.c_char * (sizename_))() res = __library__.MSK_XX_getconename(self.__nativep,i_,sizename_,name_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _name_retval = name_.value.dec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getconname(self,i_): # 3\n sizename_ = (1 + self.getconnamelen((i_)))\n arr_name = array.array(\"b\",[0]*((sizename_)))\n memview_arr_name = memoryview(arr_name)\n res,resargs = self.__obj.getconname(i_,sizename_,memview_arr_name)\n if res != 0:\n result,msg = self.__getlasterro...
[ "0.7756609", "0.7748256", "0.746332", "0.64067036", "0.63628143", "0.6325071", "0.6271609", "0.62429744", "0.6224968", "0.61689204", "0.61342615", "0.6095502", "0.60564053", "0.6039326", "0.60365814", "0.6025683", "0.6005558", "0.6003403", "0.6003403", "0.5996926", "0.5982455...
0.7593604
2
Checks whether the name has been assigned to any cone. getconenameindex(self,somename_)
def getconenameindex(self,somename_): if isinstance(somename_,unicode): somename_ = somename_.encode("utf-8",errors="replace") asgn_ = ctypes.c_int32() index_ = ctypes.c_int32() res = __library__.MSK_XX_getconenameindex(self.__nativep,somename_,ctypes.byref(asgn_),ctypes.byref(index_)) if res ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getconnameindex(self,somename_): # 3\n res,resargs = self.__obj.getconnameindex(somename_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _asgn_return_value,_index_return_value = resargs\n return _asgn_return_value,_index_return_value"...
[ "0.79486674", "0.7902287", "0.75403804", "0.6985625", "0.6675735", "0.64702046", "0.6407033", "0.6394831", "0.62709403", "0.6269381", "0.6230345", "0.6197197", "0.60873014", "0.6020437", "0.5994582", "0.59888566", "0.5946896", "0.58901525", "0.58636606", "0.57749754", "0.5771...
0.7383875
3
Obtains the number of nonzeros in the coefficient matrix. getnumanz(self)
def getnumanz(self): numanz_ = ctypes.c_int32() res = __library__.MSK_XX_getnumanz(self.__nativep,ctypes.byref(numanz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numanz_ = numanz_.value _numanz_return_value = numanz_ return (_numanz_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nnz(self):\n return self.rep.nnz()", "def nNz(self):\n if self.dim < 3:\n return None\n return self.nCz + 1", "def nnz(self):\n return self.to_ddm().nnz()", "def nnz(self):\n return len(self.data)", "def nnz(self):\n return len(self.value)", "def N...
[ "0.7592773", "0.7528311", "0.74616444", "0.7446058", "0.74361736", "0.7277588", "0.72374827", "0.71827817", "0.707067", "0.7027449", "0.690243", "0.68824637", "0.6851209", "0.6759223", "0.6703445", "0.65494764", "0.64856493", "0.64191264", "0.6408051", "0.63743675", "0.637256...
0.6380915
19
Obtains the number of nonzeros in the coefficient matrix. getnumanz64(self)
def getnumanz64(self): numanz_ = ctypes.c_int64() res = __library__.MSK_XX_getnumanz64(self.__nativep,ctypes.byref(numanz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numanz_ = numanz_.value _numanz_return_value = numanz_ return (_numanz_return_value...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nnz(self):\n return self.rep.nnz()", "def nnz(self):\n return self.to_ddm().nnz()", "def nnz(self):\n return len(self.value)", "def nnz(self):\n return len(self.data)", "def nnz(self):\n t = self.get_MSC()\n return len(np.unique(t['masks']))", "def nNz(self):...
[ "0.77424544", "0.7565106", "0.74160326", "0.7395533", "0.72370577", "0.7126519", "0.7091654", "0.69576246", "0.6894571", "0.6767162", "0.67609584", "0.6716713", "0.654779", "0.6532459", "0.6532179", "0.65235656", "0.64495844", "0.6432504", "0.6378582", "0.6377218", "0.6338551...
0.6050718
51
Obtains the number of constraints. getnumcon(self)
def getnumcon(self): numcon_ = ctypes.c_int32() res = __library__.MSK_XX_getnumcon(self.__nativep,ctypes.byref(numcon_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numcon_ = numcon_.value _numcon_return_value = numcon_ return (_numcon_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getNumConstraints(self):\n return _libsbml.Model_getNumConstraints(self)", "def number_of_constraints(self):\n return len(self.constraints)", "def num_conll(self):\n pass", "def no_of_constraints(self):\n return np.sum(self._no_of_constraints_by_object())", "def __len__(self...
[ "0.8073363", "0.7713935", "0.76055926", "0.74165255", "0.73155195", "0.69851774", "0.6956895", "0.67284936", "0.65618414", "0.6551312", "0.6531428", "0.6469507", "0.6461151", "0.6457728", "0.64055216", "0.6397165", "0.6389432", "0.6323094", "0.6300825", "0.6271615", "0.626491...
0.5909509
83
Obtains the number of cones. getnumcone(self)
def getnumcone(self): numcone_ = ctypes.c_int32() res = __library__.MSK_XX_getnumcone(self.__nativep,ctypes.byref(numcone_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numcone_ = numcone_.value _numcone_return_value = numcone_ return (_numcone_return_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumcone(self): # 3\n res,resargs = self.__obj.getnumcone()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numcone_return_value = resargs\n return _numcone_return_value", "def num_cones(self):\n return self._shape_count(_sf...
[ "0.9106919", "0.81965643", "0.7543785", "0.7437887", "0.69181544", "0.67456555", "0.67095584", "0.65884423", "0.65678185", "0.6465956", "0.64427835", "0.64152044", "0.6377484", "0.6377402", "0.63385695", "0.62976825", "0.62972224", "0.62365496", "0.62121636", "0.6148317", "0....
0.8135312
2
Obtains the number of members in a cone. getnumconemem(self,k_)
def getnumconemem(self,k_): nummem_ = ctypes.c_int32() res = __library__.MSK_XX_getnumconemem(self.__nativep,k_,ctypes.byref(nummem_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) nummem_ = nummem_.value _nummem_return_value = nummem_ return (_nummem_re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumconemem(self,k_): # 3\n res,resargs = self.__obj.getnumconemem(k_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _nummem_return_value = resargs\n return _nummem_return_value", "def getconeinfo(self,k_):\n ct_ = ctypes.c_int...
[ "0.87193775", "0.65474", "0.63329744", "0.6301218", "0.6256797", "0.60519123", "0.60468775", "0.6043543", "0.6008538", "0.6007757", "0.5989896", "0.5959924", "0.59045166", "0.58832043", "0.5873087", "0.5872675", "0.58704096", "0.58684206", "0.5850679", "0.5849518", "0.5849518...
0.79310596
1
Obtains the number of integerconstrained variables. getnumintvar(self)
def getnumintvar(self): numintvar_ = ctypes.c_int32() res = __library__.MSK_XX_getnumintvar(self.__nativep,ctypes.byref(numintvar_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numintvar_ = numintvar_.value _numintvar_return_value = numintvar_ return (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumintvar(self): # 3\n res,resargs = self.__obj.getnumintvar()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numintvar_return_value = resargs\n return _numintvar_return_value", "def getnumvar(self): # 3\n res,resargs = self...
[ "0.7686083", "0.760668", "0.7462097", "0.74605703", "0.73380727", "0.7266656", "0.70836335", "0.7051728", "0.694892", "0.6925162", "0.68828064", "0.6860176", "0.6791749", "0.67164403", "0.6582914", "0.65823805", "0.6555352", "0.6483662", "0.6420358", "0.6386825", "0.6374337",...
0.6530422
17
Obtains the number of parameters of a given type. getnumparam(self,partype_)
def getnumparam(self,partype_): numparam_ = ctypes.c_int32() res = __library__.MSK_XX_getnumparam(self.__nativep,partype_,ctypes.byref(numparam_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numparam_ = numparam_.value _numparam_return_value = numparam_ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumparam(self,partype_): # 3\n if not isinstance(partype_,parametertype): raise TypeError(\"Argument partype has wrong type\")\n res,resargs = self.__obj.getnumparam(partype_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numparam...
[ "0.8639025", "0.68901056", "0.6834211", "0.6744843", "0.6720308", "0.65994984", "0.65801895", "0.64843345", "0.64329004", "0.63957036", "0.6382901", "0.637191", "0.6365708", "0.6353071", "0.62921935", "0.6271592", "0.6260164", "0.6259933", "0.62220746", "0.6217816", "0.619561...
0.770266
1
Obtains the number of nonzero quadratic terms in a constraint. getnumqconknz(self,k_)
def getnumqconknz(self,k_): numqcnz_ = ctypes.c_int64() res = __library__.MSK_XX_getnumqconknz64(self.__nativep,k_,ctypes.byref(numqcnz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numqcnz_ = numqcnz_.value _numqcnz_return_value = numqcnz_ return (_n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumqconknz(self,k_): # 3\n res,resargs = self.__obj.getnumqconknz64(k_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numqcnz_return_value = resargs\n return _numqcnz_return_value", "def NumCoefficients(self):\n return nc...
[ "0.81055516", "0.69355136", "0.6510874", "0.6368569", "0.6130344", "0.6097802", "0.6064723", "0.59739923", "0.59143233", "0.5902763", "0.58940965", "0.587751", "0.5876627", "0.5862211", "0.58392245", "0.5836491", "0.57720524", "0.57618713", "0.573745", "0.57012874", "0.568520...
0.7470945
1
Obtains the number of nonzero quadratic terms in the objective. getnumqobjnz(self)
def getnumqobjnz(self): numqonz_ = ctypes.c_int64() res = __library__.MSK_XX_getnumqobjnz64(self.__nativep,ctypes.byref(numqonz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numqonz_ = numqonz_.value _numqonz_return_value = numqonz_ return (_numqonz_r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumqobjnz(self): # 3\n res,resargs = self.__obj.getnumqobjnz64()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numqonz_return_value = resargs\n return _numqonz_return_value", "def nnz(self):\n return self.rep.nnz()", "d...
[ "0.82374734", "0.6691824", "0.6654184", "0.6631789", "0.6566139", "0.6549166", "0.6526288", "0.6477858", "0.64586747", "0.6448433", "0.6430575", "0.631171", "0.6284648", "0.6211166", "0.6139018", "0.6122343", "0.61054796", "0.6086818", "0.6061201", "0.59945405", "0.59900707",...
0.72892433
1
Obtains the number of variables. getnumvar(self)
def getnumvar(self): numvar_ = ctypes.c_int32() res = __library__.MSK_XX_getnumvar(self.__nativep,ctypes.byref(numvar_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numvar_ = numvar_.value _numvar_return_value = numvar_ return (_numvar_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nvar(self):\n return len(self.__vars)", "def getnumvar(self): # 3\n res,resargs = self.__obj.getnumvar()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numvar_return_value = resargs\n return _numvar_return_value", "def num_vars...
[ "0.8746613", "0.8497008", "0.836708", "0.8344588", "0.82849205", "0.79779935", "0.7957599", "0.7804088", "0.77884203", "0.77689356", "0.77176756", "0.7432701", "0.7416001", "0.74002916", "0.735326", "0.7323475", "0.73090327", "0.7131211", "0.7097883", "0.70225763", "0.6954437...
0.69162834
22
Obtains the number of semidefinite variables. getnumbarvar(self)
def getnumbarvar(self): numbarvar_ = ctypes.c_int32() res = __library__.MSK_XX_getnumbarvar(self.__nativep,ctypes.byref(numbarvar_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) numbarvar_ = numbarvar_.value _numbarvar_return_value = numbarvar_ return (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumbarvar(self): # 3\n res,resargs = self.__obj.getnumbarvar()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _numbarvar_return_value = resargs\n return _numbarvar_return_value", "def nvar(self):\n return len(self.__vars)", "...
[ "0.7975311", "0.7674676", "0.7319701", "0.7211214", "0.71550834", "0.71404254", "0.7109119", "0.7083532", "0.70338285", "0.6952924", "0.6887136", "0.6885893", "0.6841936", "0.6802513", "0.658819", "0.64798194", "0.6371167", "0.63551664", "0.63320315", "0.632122", "0.6315045",...
0.7158393
4
Obtains maximum number of symmetric matrix variables for which space is currently preallocated. getmaxnumbarvar(self)
def getmaxnumbarvar(self): maxnumbarvar_ = ctypes.c_int32() res = __library__.MSK_XX_getmaxnumbarvar(self.__nativep,ctypes.byref(maxnumbarvar_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) maxnumbarvar_ = maxnumbarvar_.value _maxnumbarvar_return_value = ma...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getmaxnumbarvar(self): # 3\n res,resargs = self.__obj.getmaxnumbarvar()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _maxnumbarvar_return_value = resargs\n return _maxnumbarvar_return_value", "def getmaxnumvar(self): # 3\n res...
[ "0.8353058", "0.7625918", "0.7178526", "0.7173014", "0.6900788", "0.67549825", "0.67534035", "0.6604703", "0.65953386", "0.65564364", "0.6491961", "0.6491961", "0.64415246", "0.6377342", "0.6367016", "0.6346783", "0.63250744", "0.63224643", "0.6280085", "0.623158", "0.6207333...
0.7973662
1
Obtains the dimension of a symmetric matrix variable. getdimbarvarj(self,j_)
def getdimbarvarj(self,j_): dimbarvarj_ = ctypes.c_int32() res = __library__.MSK_XX_getdimbarvarj(self.__nativep,j_,ctypes.byref(dimbarvarj_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) dimbarvarj_ = dimbarvarj_.value _dimbarvarj_return_value = dimbarvarj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getdimbarvarj(self,j_): # 3\n res,resargs = self.__obj.getdimbarvarj(j_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _dimbarvarj_return_value = resargs\n return _dimbarvarj_return_value", "def getlenbarvarj(self,j_): # 3\n re...
[ "0.8157939", "0.7234874", "0.7118234", "0.66493785", "0.62534416", "0.6217813", "0.61596256", "0.6108693", "0.610009", "0.6096139", "0.6055242", "0.60185647", "0.59672534", "0.59501725", "0.59287465", "0.58893055", "0.5870976", "0.58589756", "0.58523554", "0.58254814", "0.582...
0.7893175
1
Obtains the length of one semidefinite variable. getlenbarvarj(self,j_)
def getlenbarvarj(self,j_): lenbarvarj_ = ctypes.c_int64() res = __library__.MSK_XX_getlenbarvarj(self.__nativep,j_,ctypes.byref(lenbarvarj_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) lenbarvarj_ = lenbarvarj_.value _lenbarvarj_return_value = lenbarvarj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getlenbarvarj(self,j_): # 3\n res,resargs = self.__obj.getlenbarvarj(j_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _lenbarvarj_return_value = resargs\n return _lenbarvarj_return_value", "def getdimbarvarj(self,j_): # 3\n re...
[ "0.88877654", "0.75584835", "0.7211314", "0.6690643", "0.66048795", "0.6505069", "0.6360071", "0.6273677", "0.61290354", "0.61180645", "0.60778457", "0.604806", "0.5983262", "0.5907069", "0.583178", "0.5763323", "0.57298106", "0.5695627", "0.56907165", "0.5678655", "0.5666649...
0.8653341
1
Obtains the name assigned to the objective function. getobjname(self)
def getobjname(self): sizeobjname_ = (1 + self.getobjnamelen()) objname_ = (ctypes.c_char * (sizeobjname_))() res = __library__.MSK_XX_getobjname(self.__nativep,sizeobjname_,objname_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _objname_retval = objname_.v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getName(self):\n return _libsbml.Objective_getName(self)", "def getName(self):\n return _libsbml.FluxObjective_getName(self)", "def getName(obj):", "def get_object_name(self):\n return self.obj_name", "def getElementName(self):\n return _libsbml.FluxObjective_getElementName(...
[ "0.8190665", "0.79540175", "0.782993", "0.7744586", "0.7415664", "0.73821336", "0.73171717", "0.71756494", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "0.71405035", "...
0.0
-1
Obtains the length of the name assigned to the objective function. getobjnamelen(self)
def getobjnamelen(self): len_ = ctypes.c_int32() res = __library__.MSK_XX_getobjnamelen(self.__nativep,ctypes.byref(len_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) len_ = len_.value _len_return_value = len_ return (_len_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getobjnamelen(self): # 3\n res,resargs = self.__obj.getobjnamelen()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _len_return_value = resargs\n return _len_return_value", "def getvarnamelen(self,i_): # 3\n res,resargs = self.__...
[ "0.8600193", "0.68811417", "0.68546593", "0.68029124", "0.6799229", "0.6797271", "0.67207515", "0.6687548", "0.66241795", "0.66220766", "0.65274286", "0.6385338", "0.6192809", "0.6146675", "0.60793424", "0.6027188", "0.602287", "0.59914076", "0.59914076", "0.59914076", "0.599...
0.8552058
1
Computes the primal objective value for the desired solution. getprimalobj(self,whichsol_)
def getprimalobj(self,whichsol_): primalobj_ = ctypes.c_double() res = __library__.MSK_XX_getprimalobj(self.__nativep,whichsol_,ctypes.byref(primalobj_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) primalobj_ = primalobj_.value _primalobj_return_value = pr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getprimalobj(self,whichsol_): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n res,resargs = self.__obj.getprimalobj(whichsol_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _primalob...
[ "0.8639235", "0.6065909", "0.60444075", "0.59410185", "0.5837497", "0.5818431", "0.5802987", "0.57979184", "0.5757774", "0.5748593", "0.57292265", "0.5505549", "0.54718834", "0.54291403", "0.542609", "0.5413844", "0.532878", "0.532377", "0.53026396", "0.5288599", "0.5281505",...
0.8099829
1
Obtains the problem type. getprobtype(self)
def getprobtype(self): probtype_ = ctypes.c_int32() res = __library__.MSK_XX_getprobtype(self.__nativep,ctypes.byref(probtype_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _probtype_return_value = problemtype(probtype_.value) return (_probtype_return_valu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getprobtype(self): # 3\n res,resargs = self.__obj.getprobtype()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _probtype_return_value = resargs\n _probtype_return_value = problemtype(_probtype_return_value)\n return _probtype_retu...
[ "0.9006907", "0.85797167", "0.85797167", "0.85797167", "0.85797167", "0.85797167", "0.75342023", "0.64539766", "0.6302305", "0.6269259", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.6167121", "0.616712...
0.81917536
6
Obtains all the quadratic terms in a constraint. getqconk(self,k_,qcsubi_,qcsubj_,qcval_)
def getqconk(self,k_,qcsubi_,qcsubj_,qcval_): maxnumqcnz_ = self.getnumqconknz((k_)) numqcnz_ = ctypes.c_int64() _qcsubi_minlength = self.getnumqconknz((k_)) if self.getnumqconknz((k_)) > 0 and qcsubi_ is not None and len(qcsubi_) != self.getnumqconknz((k_)): raise ValueError("Array argument qcsub...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getqconk(self,k_,qcsubi,qcsubj,qcval): # 3\n maxnumqcnz_ = self.getnumqconknz((k_))\n if qcsubi is None: raise TypeError(\"Invalid type for argument qcsubi\")\n _copyback_qcsubi = False\n if qcsubi is None:\n qcsubi_ = None\n else:\n try:\n qcsubi_ = memoryview(q...
[ "0.73472387", "0.66726524", "0.6591416", "0.6424358", "0.6321435", "0.56947607", "0.55449796", "0.53937316", "0.53766406", "0.5353066", "0.53088754", "0.5232903", "0.51952076", "0.5171041", "0.51661", "0.51115626", "0.5044338", "0.50178754", "0.50012517", "0.49925134", "0.498...
0.72974324
1
Obtains all the quadratic terms in the objective. getqobj(self,qosubi_,qosubj_,qoval_)
def getqobj(self,qosubi_,qosubj_,qoval_): maxnumqonz_ = self.getnumqobjnz() numqonz_ = ctypes.c_int64() _qosubi_minlength = (maxnumqonz_) if (maxnumqonz_) > 0 and qosubi_ is not None and len(qosubi_) != (maxnumqonz_): raise ValueError("Array argument qosubi is not long enough: Is %d, expected %d" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getqobj(self,qosubi,qosubj,qoval): # 3\n maxnumqonz_ = self.getnumqobjnz()\n if qosubi is None: raise TypeError(\"Invalid type for argument qosubi\")\n _copyback_qosubi = False\n if qosubi is None:\n qosubi_ = None\n else:\n try:\n qosubi_ = memoryview(qosubi)\n ...
[ "0.7446692", "0.6420837", "0.6285769", "0.62362957", "0.5942086", "0.5876235", "0.5872058", "0.566999", "0.5666952", "0.5595695", "0.5467557", "0.5461396", "0.5461396", "0.5461396", "0.5456688", "0.545507", "0.5411939", "0.53708935", "0.53272456", "0.5319744", "0.5307098", ...
0.7120849
1
Obtains one coefficient from the quadratic term of the objective getqobjij(self,i_,j_)
def getqobjij(self,i_,j_): qoij_ = ctypes.c_double() res = __library__.MSK_XX_getqobjij(self.__nativep,i_,j_,ctypes.byref(qoij_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) qoij_ = qoij_.value _qoij_return_value = qoij_ return (_qoij_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getqobjij(self,i_,j_): # 3\n res,resargs = self.__obj.getqobjij(i_,j_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _qoij_return_value = resargs\n return _qoij_return_value", "def getCoefficient(self):\n return _libsbml.Flux...
[ "0.7394904", "0.6306659", "0.6125218", "0.6117796", "0.59879345", "0.5969218", "0.5932629", "0.5920546", "0.59181994", "0.5905317", "0.58951527", "0.58876437", "0.5873334", "0.5761676", "0.57416713", "0.5738999", "0.57350576", "0.57144594", "0.570241", "0.570241", "0.5692089"...
0.73838377
1
Obtains the complete solution. getsolution(self,whichsol_,skc_,skx_,skn_,xc_,xx_,y_,slc_,suc_,slx_,sux_,snx_)
def getsolution(self,whichsol_,skc_,skx_,skn_,xc_,xx_,y_,slc_,suc_,slx_,sux_,snx_): prosta_ = ctypes.c_int32() solsta_ = ctypes.c_int32() _skc_minlength = self.getnumcon() if self.getnumcon() > 0 and skc_ is not None and len(skc_) != self.getnumcon(): raise ValueError("Array argument skc is not lo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsolution(self,whichsol_,skc,skx,skn,xc,xx,y,slc,suc,slx,sux,snx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_skc = False\n if skc is None:\n skc_ = None\n else:\n try:\n skc_ = memoryview(skc)\n ...
[ "0.8545925", "0.7747821", "0.7333495", "0.7199789", "0.68386203", "0.66661495", "0.6665564", "0.66491985", "0.6588644", "0.6554875", "0.65271825", "0.6473194", "0.6416208", "0.632671", "0.63102174", "0.62922955", "0.62530744", "0.6231695", "0.62263197", "0.61406004", "0.61170...
0.8528952
1
Obtains the solution status. getsolsta(self,whichsol_)
def getsolsta(self,whichsol_): solsta_ = ctypes.c_int32() res = __library__.MSK_XX_getsolsta(self.__nativep,whichsol_,ctypes.byref(solsta_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _solsta_return_value = solsta(solsta_.value) return (_solsta_return_val...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsolsta(self,whichsol_): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n res,resargs = self.__obj.getsolsta(whichsol_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _solsta_return_...
[ "0.8332325", "0.67369443", "0.6637133", "0.65710145", "0.63403517", "0.6337015", "0.6313975", "0.6290875", "0.6236583", "0.61838657", "0.6070488", "0.6067338", "0.6028722", "0.60181767", "0.59323597", "0.5913741", "0.58426934", "0.5825443", "0.57618636", "0.56496173", "0.5648...
0.79787683
1
Obtains the problem status. getprosta(self,whichsol_)
def getprosta(self,whichsol_): prosta_ = ctypes.c_int32() res = __library__.MSK_XX_getprosta(self.__nativep,whichsol_,ctypes.byref(prosta_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _prosta_return_value = prosta(prosta_.value) return (_prosta_return_val...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getprosta(self,whichsol_): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n res,resargs = self.__obj.getprosta(whichsol_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _prosta_return_...
[ "0.8061198", "0.6539571", "0.63518715", "0.62043124", "0.588598", "0.5827498", "0.5815437", "0.5792493", "0.568136", "0.5551725", "0.55403644", "0.5519703", "0.55097705", "0.5475015", "0.5456512", "0.5454256", "0.5443278", "0.5402819", "0.53696334", "0.5313365", "0.5283332", ...
0.76344854
1
Obtains the status keys for the constraints. getskc(self,whichsol_,skc_)
def getskc(self,whichsol_,skc_): _skc_minlength = self.getnumcon() if self.getnumcon() > 0 and skc_ is not None and len(skc_) != self.getnumcon(): raise ValueError("Array argument skc is not long enough: Is %d, expected %d" % (len(skc_),self.getnumcon())) if isinstance(skc_,numpy.ndarray) and not skc_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getskc(self,whichsol_,skc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_skc = False\n if skc is None:\n skc_ = None\n else:\n try:\n skc_ = memoryview(skc)\n except TypeError:\n try:\n ...
[ "0.7628529", "0.64641875", "0.6297897", "0.6218528", "0.6176679", "0.60891193", "0.60776615", "0.6005346", "0.58437234", "0.5784157", "0.5729363", "0.56601924", "0.5591095", "0.5427357", "0.54007435", "0.5310639", "0.5267366", "0.52485293", "0.51785713", "0.5076993", "0.50753...
0.7737572
0
Obtains the status keys for the scalar variables. getskx(self,whichsol_,skx_)
def getskx(self,whichsol_,skx_): _skx_minlength = self.getnumvar() if self.getnumvar() > 0 and skx_ is not None and len(skx_) != self.getnumvar(): raise ValueError("Array argument skx is not long enough: Is %d, expected %d" % (len(skx_),self.getnumvar())) if isinstance(skx_,numpy.ndarray) and not skx_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getskx(self,whichsol_,skx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_skx = False\n if skx is None:\n skx_ = None\n else:\n try:\n skx_ = memoryview(skx)\n except TypeError:\n try:\n ...
[ "0.78065765", "0.63683814", "0.62353045", "0.6215446", "0.61820394", "0.61591494", "0.6133144", "0.61062807", "0.6047507", "0.59702194", "0.5943474", "0.5915708", "0.580595", "0.5664523", "0.5435939", "0.53950316", "0.5300313", "0.52181596", "0.51550823", "0.51532644", "0.510...
0.78649473
0
Obtains the status keys for the conic constraints. getskn(self,whichsol_,skn_)
def getskn(self,whichsol_,skn_): _skn_minlength = self.getnumcone() if self.getnumcone() > 0 and skn_ is not None and len(skn_) != self.getnumcone(): raise ValueError("Array argument skn is not long enough: Is %d, expected %d" % (len(skn_),self.getnumcone())) if isinstance(skn_,numpy.ndarray) and not ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getskc(self,whichsol_,skc_):\n _skc_minlength = self.getnumcon()\n if self.getnumcon() > 0 and skc_ is not None and len(skc_) != self.getnumcon():\n raise ValueError(\"Array argument skc is not long enough: Is %d, expected %d\" % (len(skc_),self.getnumcon()))\n if isinstance(skc_,numpy.ndarray) a...
[ "0.6662831", "0.6497118", "0.6283685", "0.6198206", "0.58799136", "0.5795298", "0.5409666", "0.53260463", "0.5285261", "0.5234887", "0.5229472", "0.5209229", "0.5130687", "0.5127639", "0.50948286", "0.503141", "0.49997705", "0.49190468", "0.49169722", "0.4883842", "0.4841338"...
0.76341337
0
Obtains the xc vector for a solution. getxc(self,whichsol_,xc_)
def getxc(self,whichsol_,xc_): _xc_minlength = self.getnumcon() if self.getnumcon() > 0 and xc_ is not None and len(xc_) != self.getnumcon(): raise ValueError("Array argument xc is not long enough: Is %d, expected %d" % (len(xc_),self.getnumcon())) if isinstance(xc_,numpy.ndarray) and not xc_.flags.wr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getxc(self,whichsol_,xc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if xc is None: raise TypeError(\"Invalid type for argument xc\")\n _copyback_xc = False\n if xc is None:\n xc_ = None\n else:\n try:\n xc...
[ "0.855", "0.6547385", "0.64594483", "0.643041", "0.6404519", "0.63980997", "0.60873556", "0.60166633", "0.59956", "0.5775957", "0.5768749", "0.5747192", "0.55944407", "0.5565955", "0.5563037", "0.55297995", "0.5522461", "0.5517281", "0.5517281", "0.55121505", "0.5492572", "...
0.8253643
1
Obtains the xx vector for a solution. getxx(self,whichsol_,xx_)
def getxx(self,whichsol_,xx_): _xx_minlength = self.getnumvar() if self.getnumvar() > 0 and xx_ is not None and len(xx_) != self.getnumvar(): raise ValueError("Array argument xx is not long enough: Is %d, expected %d" % (len(xx_),self.getnumvar())) if isinstance(xx_,numpy.ndarray) and not xx_.flags.wr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getxx(self,whichsol_,xx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if xx is None: raise TypeError(\"Invalid type for argument xx\")\n _copyback_xx = False\n if xx is None:\n xx_ = None\n else:\n try:\n xx...
[ "0.79572123", "0.6351557", "0.62246144", "0.6201818", "0.61870646", "0.61735386", "0.61519146", "0.61346936", "0.6094907", "0.60933805", "0.6077781", "0.6060911", "0.6036646", "0.5999405", "0.59445125", "0.5931299", "0.5923583", "0.5828043", "0.58270687", "0.58254653", "0.580...
0.7803313
1
Obtains the y vector for a solution. gety(self,whichsol_,y_)
def gety(self,whichsol_,y_): _y_minlength = self.getnumcon() if self.getnumcon() > 0 and y_ is not None and len(y_) != self.getnumcon(): raise ValueError("Array argument y is not long enough: Is %d, expected %d" % (len(y_),self.getnumcon())) if isinstance(y_,numpy.ndarray) and not y_.flags.writeable: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gety(self,whichsol_,y): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if y is None: raise TypeError(\"Invalid type for argument y\")\n _copyback_y = False\n if y is None:\n y_ = None\n else:\n try:\n y_ = memo...
[ "0.8433188", "0.7439271", "0.72740275", "0.7210725", "0.7059704", "0.70467824", "0.7036395", "0.69869375", "0.6916276", "0.6868019", "0.686457", "0.686457", "0.686457", "0.686457", "0.686457", "0.686457", "0.686457", "0.686457", "0.686457", "0.686457", "0.6860071", "0.68104...
0.8305004
1
Obtains the slc vector for a solution. getslc(self,whichsol_,slc_)
def getslc(self,whichsol_,slc_): _slc_minlength = self.getnumcon() if self.getnumcon() > 0 and slc_ is not None and len(slc_) != self.getnumcon(): raise ValueError("Array argument slc is not long enough: Is %d, expected %d" % (len(slc_),self.getnumcon())) if isinstance(slc_,numpy.ndarray) and not slc_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getslc(self,whichsol_,slc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if slc is None: raise TypeError(\"Invalid type for argument slc\")\n _copyback_slc = False\n if slc is None:\n slc_ = None\n else:\n try:\n ...
[ "0.84871864", "0.68870384", "0.6838498", "0.6609151", "0.6535311", "0.65202194", "0.6476272", "0.646697", "0.639542", "0.62924033", "0.62559444", "0.62352747", "0.6041624", "0.60120684", "0.5960807", "0.5940817", "0.5703786", "0.5680628", "0.55889", "0.5581526", "0.5552744", ...
0.83295643
1
Obtains the suc vector for a solution. getsuc(self,whichsol_,suc_)
def getsuc(self,whichsol_,suc_): _suc_minlength = self.getnumcon() if self.getnumcon() > 0 and suc_ is not None and len(suc_) != self.getnumcon(): raise ValueError("Array argument suc is not long enough: Is %d, expected %d" % (len(suc_),self.getnumcon())) if isinstance(suc_,numpy.ndarray) and not suc_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsuc(self,whichsol_,suc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if suc is None: raise TypeError(\"Invalid type for argument suc\")\n _copyback_suc = False\n if suc is None:\n suc_ = None\n else:\n try:\n ...
[ "0.82410663", "0.67845887", "0.67435616", "0.60198617", "0.6000237", "0.59143555", "0.57880753", "0.5660732", "0.56503254", "0.56131995", "0.5586636", "0.55124426", "0.5397233", "0.53479666", "0.5342795", "0.5300737", "0.52902275", "0.5274882", "0.52535", "0.524406", "0.52381...
0.802017
1
Obtains the slx vector for a solution. getslx(self,whichsol_,slx_)
def getslx(self,whichsol_,slx_): _slx_minlength = self.getnumvar() if self.getnumvar() > 0 and slx_ is not None and len(slx_) != self.getnumvar(): raise ValueError("Array argument slx is not long enough: Is %d, expected %d" % (len(slx_),self.getnumvar())) if isinstance(slx_,numpy.ndarray) and not slx_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getslx(self,whichsol_,slx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if slx is None: raise TypeError(\"Invalid type for argument slx\")\n _copyback_slx = False\n if slx is None:\n slx_ = None\n else:\n try:\n ...
[ "0.87089604", "0.72146577", "0.7097264", "0.70668536", "0.7056976", "0.68988025", "0.67752796", "0.6688387", "0.6605125", "0.64957577", "0.6379216", "0.62307626", "0.6225079", "0.6224382", "0.61772555", "0.6122235", "0.61132026", "0.60783416", "0.59741527", "0.5969503", "0.59...
0.8313936
1
Obtains the sux vector for a solution. getsux(self,whichsol_,sux_)
def getsux(self,whichsol_,sux_): _sux_minlength = self.getnumvar() if self.getnumvar() > 0 and sux_ is not None and len(sux_) != self.getnumvar(): raise ValueError("Array argument sux is not long enough: Is %d, expected %d" % (len(sux_),self.getnumvar())) if isinstance(sux_,numpy.ndarray) and not sux_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsux(self,whichsol_,sux): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if sux is None: raise TypeError(\"Invalid type for argument sux\")\n _copyback_sux = False\n if sux is None:\n sux_ = None\n else:\n try:\n ...
[ "0.83876735", "0.7194185", "0.7017376", "0.6659871", "0.64503825", "0.6329173", "0.624264", "0.612875", "0.6062636", "0.6031954", "0.60148215", "0.59155315", "0.5907157", "0.58648735", "0.5721835", "0.5647679", "0.5618949", "0.5581592", "0.5570122", "0.55517375", "0.5532052",...
0.7906288
1
Obtains the snx vector for a solution. getsnx(self,whichsol_,snx_)
def getsnx(self,whichsol_,snx_): _snx_minlength = self.getnumvar() if self.getnumvar() > 0 and snx_ is not None and len(snx_) != self.getnumvar(): raise ValueError("Array argument snx is not long enough: Is %d, expected %d" % (len(snx_),self.getnumvar())) if isinstance(snx_,numpy.ndarray) and not snx_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsnx(self,whichsol_,snx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if snx is None: raise TypeError(\"Invalid type for argument snx\")\n _copyback_snx = False\n if snx is None:\n snx_ = None\n else:\n try:\n ...
[ "0.86757714", "0.7156397", "0.6924034", "0.68845904", "0.66623247", "0.66261995", "0.6621294", "0.642338", "0.6265953", "0.62119913", "0.60415965", "0.59736574", "0.59373015", "0.5887918", "0.5850165", "0.58197445", "0.5817761", "0.57996505", "0.57895374", "0.5773802", "0.577...
0.83317095
1
Obtains the status keys for a slice of the constraints. getskcslice(self,whichsol_,first_,last_,skc_)
def getskcslice(self,whichsol_,first_,last_,skc_): _skc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and skc_ is not None and len(skc_) != ((last_) - (first_)): raise ValueError("Array argument skc is not long enough: Is %d, expected %d" % (len(skc_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getskcslice(self,whichsol_,first_,last_,skc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_skc = False\n if skc is None:\n skc_ = None\n else:\n try:\n skc_ = memoryview(skc)\n except TypeError:\n...
[ "0.83698577", "0.7676276", "0.7641969", "0.71756285", "0.70338166", "0.69210166", "0.689157", "0.6883371", "0.678969", "0.6505328", "0.6364215", "0.6342192", "0.6307355", "0.62220454", "0.621526", "0.6176144", "0.61322945", "0.6026262", "0.5910877", "0.58903396", "0.5878165",...
0.8502849
0
Obtains the status keys for a slice of the scalar variables. getskxslice(self,whichsol_,first_,last_,skx_)
def getskxslice(self,whichsol_,first_,last_,skx_): _skx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and skx_ is not None and len(skx_) != ((last_) - (first_)): raise ValueError("Array argument skx is not long enough: Is %d, expected %d" % (len(skx_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getskxslice(self,whichsol_,first_,last_,skx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_skx = False\n if skx is None:\n skx_ = None\n else:\n try:\n skx_ = memoryview(skx)\n except TypeError:\n...
[ "0.8476064", "0.7415245", "0.7376962", "0.73584974", "0.7336305", "0.7291409", "0.7210694", "0.7207023", "0.71809304", "0.69940525", "0.6907337", "0.6479482", "0.634455", "0.627097", "0.6255118", "0.6236788", "0.618273", "0.615297", "0.6128315", "0.6101179", "0.60960925", "...
0.85333645
0
Obtains a slice of the xc vector for a solution. getxcslice(self,whichsol_,first_,last_,xc_)
def getxcslice(self,whichsol_,first_,last_,xc_): _xc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and xc_ is not None and len(xc_) != ((last_) - (first_)): raise ValueError("Array argument xc is not long enough: Is %d, expected %d" % (len(xc_),((last_) - (first_)))) if isinstance(xc_,n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getxcslice(self,whichsol_,first_,last_,xc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_xc = False\n if xc is None:\n xc_ = None\n else:\n try:\n xc_ = memoryview(xc)\n except TypeError:\n ...
[ "0.8871416", "0.76826507", "0.7596087", "0.75686884", "0.7410148", "0.74062127", "0.73810256", "0.73113877", "0.7260068", "0.7236731", "0.71430576", "0.6971315", "0.69518054", "0.68956494", "0.68920743", "0.674316", "0.67097515", "0.6663036", "0.6507034", "0.6462913", "0.6410...
0.8803857
1
Obtains a slice of the xx vector for a solution. getxxslice(self,whichsol_,first_,last_,xx_)
def getxxslice(self,whichsol_,first_,last_,xx_): _xx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and xx_ is not None and len(xx_) != ((last_) - (first_)): raise ValueError("Array argument xx is not long enough: Is %d, expected %d" % (len(xx_),((last_) - (first_)))) if isinstance(xx_,n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getxxslice(self,whichsol_,first_,last_,xx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_xx = False\n if xx is None:\n xx_ = None\n else:\n try:\n xx_ = memoryview(xx)\n except TypeError:\n ...
[ "0.87552685", "0.71773666", "0.71705204", "0.7166786", "0.712601", "0.7119272", "0.7060014", "0.70125127", "0.69819254", "0.6959172", "0.6958013", "0.6930547", "0.6887463", "0.6632374", "0.66088957", "0.6584639", "0.6568791", "0.64738894", "0.6277021", "0.6252331", "0.6237340...
0.86242026
1
Obtains a slice of the y vector for a solution. getyslice(self,whichsol_,first_,last_,y_)
def getyslice(self,whichsol_,first_,last_,y_): _y_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and y_ is not None and len(y_) != ((last_) - (first_)): raise ValueError("Array argument y is not long enough: Is %d, expected %d" % (len(y_),((last_) - (first_)))) if isinstance(y_,numpy.nda...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getyslice(self,whichsol_,first_,last_,y): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_y = False\n if y is None:\n y_ = None\n else:\n try:\n y_ = memoryview(y)\n except TypeError:\n try:...
[ "0.8743571", "0.7623347", "0.7581511", "0.690273", "0.68671787", "0.6718791", "0.65892005", "0.6498795", "0.6391487", "0.63191646", "0.6316623", "0.6179974", "0.609856", "0.609103", "0.6053824", "0.60455865", "0.6003802", "0.5980867", "0.5819699", "0.5753804", "0.5749511", ...
0.8742764
1
Obtains a slice of the slc vector for a solution. getslcslice(self,whichsol_,first_,last_,slc_)
def getslcslice(self,whichsol_,first_,last_,slc_): _slc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and slc_ is not None and len(slc_) != ((last_) - (first_)): raise ValueError("Array argument slc is not long enough: Is %d, expected %d" % (len(slc_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getslcslice(self,whichsol_,first_,last_,slc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_slc = False\n if slc is None:\n slc_ = None\n else:\n try:\n slc_ = memoryview(slc)\n except TypeError:\n...
[ "0.89666843", "0.7970776", "0.78357977", "0.7790351", "0.776608", "0.7743089", "0.7721771", "0.76019967", "0.75482076", "0.7174418", "0.6999907", "0.6974384", "0.6937394", "0.68553096", "0.677563", "0.6760067", "0.67554903", "0.6729202", "0.67274904", "0.6555274", "0.65497065...
0.8908974
1
Obtains a slice of the suc vector for a solution. getsucslice(self,whichsol_,first_,last_,suc_)
def getsucslice(self,whichsol_,first_,last_,suc_): _suc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and suc_ is not None and len(suc_) != ((last_) - (first_)): raise ValueError("Array argument suc is not long enough: Is %d, expected %d" % (len(suc_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsucslice(self,whichsol_,first_,last_,suc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_suc = False\n if suc is None:\n suc_ = None\n else:\n try:\n suc_ = memoryview(suc)\n except TypeError:\n...
[ "0.8767524", "0.7724455", "0.76304585", "0.71188396", "0.6928379", "0.69203067", "0.6857642", "0.6781076", "0.67369777", "0.6689352", "0.66810554", "0.6537027", "0.65307486", "0.65227234", "0.64305013", "0.6409605", "0.63248944", "0.6300858", "0.62965715", "0.6287522", "0.626...
0.86952776
1
Obtains a slice of the slx vector for a solution. getslxslice(self,whichsol_,first_,last_,slx_)
def getslxslice(self,whichsol_,first_,last_,slx_): _slx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and slx_ is not None and len(slx_) != ((last_) - (first_)): raise ValueError("Array argument slx is not long enough: Is %d, expected %d" % (len(slx_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getslxslice(self,whichsol_,first_,last_,slx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_slx = False\n if slx is None:\n slx_ = None\n else:\n try:\n slx_ = memoryview(slx)\n except TypeError:\n...
[ "0.9028853", "0.80631214", "0.80538034", "0.80414426", "0.80228126", "0.80096054", "0.79594594", "0.77666306", "0.7762168", "0.7724996", "0.7438509", "0.7086442", "0.7030369", "0.701702", "0.6977494", "0.695723", "0.68976486", "0.6864595", "0.6864242", "0.6853861", "0.6783538...
0.89328283
1
Obtains a slice of the sux vector for a solution. getsuxslice(self,whichsol_,first_,last_,sux_)
def getsuxslice(self,whichsol_,first_,last_,sux_): _sux_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and sux_ is not None and len(sux_) != ((last_) - (first_)): raise ValueError("Array argument sux is not long enough: Is %d, expected %d" % (len(sux_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsuxslice(self,whichsol_,first_,last_,sux): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_sux = False\n if sux is None:\n sux_ = None\n else:\n try:\n sux_ = memoryview(sux)\n except TypeError:\n...
[ "0.8914363", "0.8258753", "0.8095908", "0.72309643", "0.6827041", "0.6768942", "0.6739441", "0.673232", "0.6716384", "0.6692275", "0.6555622", "0.6508154", "0.6437642", "0.6414382", "0.6401229", "0.6395745", "0.6369611", "0.6321666", "0.6258681", "0.6175639", "0.6137331", "...
0.8634609
1
Obtains a slice of the snx vector for a solution. getsnxslice(self,whichsol_,first_,last_,snx_)
def getsnxslice(self,whichsol_,first_,last_,snx_): _snx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and snx_ is not None and len(snx_) != ((last_) - (first_)): raise ValueError("Array argument snx is not long enough: Is %d, expected %d" % (len(snx_),((last_) - (first_)))) if isinstanc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsnxslice(self,whichsol_,first_,last_,snx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_snx = False\n if snx is None:\n snx_ = None\n else:\n try:\n snx_ = memoryview(snx)\n except TypeError:\n...
[ "0.8926085", "0.8225254", "0.8170479", "0.79477704", "0.78376275", "0.77986014", "0.7659825", "0.71785355", "0.7146281", "0.70773745", "0.7055276", "0.70290095", "0.6974902", "0.6917452", "0.6892785", "0.6877136", "0.6832963", "0.68091565", "0.67997664", "0.67910826", "0.6750...
0.8856344
1
Obtains the primal solution for a semidefinite variable. getbarxj(self,whichsol_,j_,barxj_)
def getbarxj(self,whichsol_,j_,barxj_): _barxj_minlength = self.getlenbarvarj((j_)) if self.getlenbarvarj((j_)) > 0 and barxj_ is not None and len(barxj_) != self.getlenbarvarj((j_)): raise ValueError("Array argument barxj is not long enough: Is %d, expected %d" % (len(barxj_),self.getlenbarvarj((j_)))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarxj(self,whichsol_,j_,barxj): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if barxj is None: raise TypeError(\"Invalid type for argument barxj\")\n _copyback_barxj = False\n if barxj is None:\n barxj_ = None\n else:\n ...
[ "0.82033354", "0.71269727", "0.7088522", "0.68031126", "0.6562762", "0.6327721", "0.60714597", "0.59942406", "0.598099", "0.58185506", "0.574082", "0.57030433", "0.5677139", "0.5506523", "0.54937816", "0.54763764", "0.5469289", "0.5458193", "0.54362065", "0.53959686", "0.5379...
0.8052505
1
Obtains the primal solution for a sequence of semidefinite variables. getbarxslice(self,whichsol_,first_,last_,slicesize_,barxslice_)
def getbarxslice(self,whichsol_,first_,last_,slicesize_,barxslice_): _barxslice_minlength = (slicesize_) if (slicesize_) > 0 and barxslice_ is not None and len(barxslice_) != (slicesize_): raise ValueError("Array argument barxslice is not long enough: Is %d, expected %d" % (len(barxslice_),(slicesize_))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarsslice(self,whichsol_,first_,last_,slicesize_,barsslice_):\n _barsslice_minlength = (slicesize_)\n if (slicesize_) > 0 and barsslice_ is not None and len(barsslice_) != (slicesize_):\n raise ValueError(\"Array argument barsslice is not long enough: Is %d, expected %d\" % (len(barsslice_),(slic...
[ "0.76928705", "0.68258524", "0.67441994", "0.6467298", "0.6394459", "0.63933396", "0.6392134", "0.63878", "0.6382027", "0.6362911", "0.6301443", "0.61612517", "0.6064058", "0.6002551", "0.5984842", "0.5983203", "0.5943346", "0.56366396", "0.55773145", "0.551098", "0.5506308",...
0.824346
0
Obtains the dual solution for a semidefinite variable. getbarsj(self,whichsol_,j_,barsj_)
def getbarsj(self,whichsol_,j_,barsj_): _barsj_minlength = self.getlenbarvarj((j_)) if self.getlenbarvarj((j_)) > 0 and barsj_ is not None and len(barsj_) != self.getlenbarvarj((j_)): raise ValueError("Array argument barsj is not long enough: Is %d, expected %d" % (len(barsj_),self.getlenbarvarj((j_)))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarsj(self,whichsol_,j_,barsj): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if barsj is None: raise TypeError(\"Invalid type for argument barsj\")\n _copyback_barsj = False\n if barsj is None:\n barsj_ = None\n else:\n ...
[ "0.804135", "0.75712997", "0.72715867", "0.6584214", "0.63612056", "0.63318235", "0.61129135", "0.60666585", "0.5890371", "0.5724693", "0.5684808", "0.56649065", "0.5632536", "0.56063956", "0.5574671", "0.5565123", "0.554438", "0.5483289", "0.5437219", "0.5434716", "0.5426452...
0.7979116
1
Obtains the dual solution for a sequence of semidefinite variables. getbarsslice(self,whichsol_,first_,last_,slicesize_,barsslice_)
def getbarsslice(self,whichsol_,first_,last_,slicesize_,barsslice_): _barsslice_minlength = (slicesize_) if (slicesize_) > 0 and barsslice_ is not None and len(barsslice_) != (slicesize_): raise ValueError("Array argument barsslice is not long enough: Is %d, expected %d" % (len(barsslice_),(slicesize_))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarxslice(self,whichsol_,first_,last_,slicesize_,barxslice_):\n _barxslice_minlength = (slicesize_)\n if (slicesize_) > 0 and barxslice_ is not None and len(barxslice_) != (slicesize_):\n raise ValueError(\"Array argument barxslice is not long enough: Is %d, expected %d\" % (len(barxslice_),(slic...
[ "0.75498414", "0.65988266", "0.65485716", "0.65461665", "0.6464265", "0.63609415", "0.63457286", "0.63405234", "0.63358873", "0.6318637", "0.62870437", "0.6242509", "0.6240412", "0.6225648", "0.60300714", "0.5991972", "0.5906831", "0.5894355", "0.5840608", "0.56995076", "0.56...
0.7850309
0
Sets the status keys for the constraints. putskc(self,whichsol_,skc_)
def putskc(self,whichsol_,skc_): _skc_minlength = self.getnumcon() if self.getnumcon() > 0 and skc_ is not None and len(skc_) != self.getnumcon(): raise ValueError("Array argument skc is not long enough: Is %d, expected %d" % (len(skc_),self.getnumcon())) if skc_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putskc(self,whichsol_,skc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if skc is None: raise TypeError(\"Invalid type for argument skc\")\n if skc is None:\n skc_ = None\n else:\n try:\n skc_ = memoryview(skc)\n...
[ "0.72139746", "0.6543982", "0.64018124", "0.6323139", "0.6170267", "0.59109205", "0.5876415", "0.5840868", "0.5820894", "0.57397544", "0.5731876", "0.57016045", "0.5679408", "0.5618628", "0.5609292", "0.55747694", "0.5336906", "0.5325742", "0.51073235", "0.5059507", "0.498193...
0.7371817
0
Sets the status keys for the scalar variables. putskx(self,whichsol_,skx_)
def putskx(self,whichsol_,skx_): _skx_minlength = self.getnumvar() if self.getnumvar() > 0 and skx_ is not None and len(skx_) != self.getnumvar(): raise ValueError("Array argument skx is not long enough: Is %d, expected %d" % (len(skx_),self.getnumvar())) if skx_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putskx(self,whichsol_,skx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if skx is None: raise TypeError(\"Invalid type for argument skx\")\n if skx is None:\n skx_ = None\n else:\n try:\n skx_ = memoryview(skx)\n...
[ "0.74914217", "0.6797291", "0.670412", "0.6391432", "0.61212236", "0.6068775", "0.6050045", "0.60150516", "0.5988659", "0.5958794", "0.59417593", "0.5932388", "0.5848181", "0.58313733", "0.5816834", "0.56417334", "0.5494188", "0.5483891", "0.54808533", "0.5438351", "0.5377816...
0.7584553
0
Sets the xc vector for a solution. putxc(self,whichsol_,xc_)
def putxc(self,whichsol_,xc_): _xc_minlength = self.getnumcon() if self.getnumcon() > 0 and xc_ is not None and len(xc_) != self.getnumcon(): raise ValueError("Array argument xc is not long enough: Is %d, expected %d" % (len(xc_),self.getnumcon())) if isinstance(xc_,numpy.ndarray) and not xc_.flags.wr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putxc(self,whichsol_,xc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if xc is None: raise TypeError(\"Invalid type for argument xc\")\n _copyback_xc = False\n if xc is None:\n xc_ = None\n else:\n try:\n xc...
[ "0.8204766", "0.7100034", "0.70286053", "0.62716174", "0.61374605", "0.61374235", "0.606844", "0.6039359", "0.5969456", "0.5904703", "0.5754767", "0.56230915", "0.5579052", "0.544836", "0.541375", "0.53648376", "0.5344812", "0.5310044", "0.5302024", "0.52933115", "0.5291072",...
0.7991223
1
Sets the xx vector for a solution. putxx(self,whichsol_,xx_)
def putxx(self,whichsol_,xx_): _xx_minlength = self.getnumvar() if self.getnumvar() > 0 and xx_ is not None and len(xx_) != self.getnumvar(): raise ValueError("Array argument xx is not long enough: Is %d, expected %d" % (len(xx_),self.getnumvar())) if xx_ is None: raise ValueError("Argument xx c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putxx(self,whichsol_,xx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if xx is None: raise TypeError(\"Invalid type for argument xx\")\n if xx is None:\n xx_ = None\n else:\n try:\n xx_ = memoryview(xx)\n ...
[ "0.777653", "0.6603404", "0.65006644", "0.64598906", "0.6418506", "0.6377557", "0.6271526", "0.6172969", "0.616665", "0.6082866", "0.6052714", "0.6035509", "0.60354376", "0.6003655", "0.5941833", "0.59121037", "0.590406", "0.5900046", "0.5877881", "0.5871721", "0.5866737", ...
0.7760396
1
Sets the y vector for a solution. puty(self,whichsol_,y_)
def puty(self,whichsol_,y_): _y_minlength = self.getnumcon() if self.getnumcon() > 0 and y_ is not None and len(y_) != self.getnumcon(): raise ValueError("Array argument y is not long enough: Is %d, expected %d" % (len(y_),self.getnumcon())) if y_ is None: raise ValueError("Argument y cannot be ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def puty(self,whichsol_,y): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if y is None: raise TypeError(\"Invalid type for argument y\")\n if y is None:\n y_ = None\n else:\n try:\n y_ = memoryview(y)\n except T...
[ "0.8003171", "0.73679346", "0.7363532", "0.7336165", "0.72183335", "0.7205905", "0.71375144", "0.71375144", "0.71099883", "0.7101774", "0.7048544", "0.69963944", "0.69963944", "0.69483393", "0.69331676", "0.6927535", "0.6890241", "0.6728458", "0.6610014", "0.6607487", "0.6497...
0.7967985
1
Sets the slc vector for a solution. putslc(self,whichsol_,slc_)
def putslc(self,whichsol_,slc_): _slc_minlength = self.getnumcon() if self.getnumcon() > 0 and slc_ is not None and len(slc_) != self.getnumcon(): raise ValueError("Array argument slc is not long enough: Is %d, expected %d" % (len(slc_),self.getnumcon())) if slc_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putslc(self,whichsol_,slc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if slc is None: raise TypeError(\"Invalid type for argument slc\")\n if slc is None:\n slc_ = None\n else:\n try:\n slc_ = memoryview(slc)\n...
[ "0.81765276", "0.71909016", "0.70336485", "0.6900895", "0.6891917", "0.65892226", "0.6535961", "0.6420544", "0.6415206", "0.62880546", "0.62139344", "0.5922277", "0.5874246", "0.58729297", "0.5872463", "0.57787675", "0.5756639", "0.56310564", "0.5614232", "0.5538193", "0.5517...
0.8158033
1
Sets the suc vector for a solution. putsuc(self,whichsol_,suc_)
def putsuc(self,whichsol_,suc_): _suc_minlength = self.getnumcon() if self.getnumcon() > 0 and suc_ is not None and len(suc_) != self.getnumcon(): raise ValueError("Array argument suc is not long enough: Is %d, expected %d" % (len(suc_),self.getnumcon())) if suc_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putsuc(self,whichsol_,suc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if suc is None: raise TypeError(\"Invalid type for argument suc\")\n if suc is None:\n suc_ = None\n else:\n try:\n suc_ = memoryview(suc)\n...
[ "0.8089537", "0.7096102", "0.69045806", "0.6241367", "0.62060827", "0.5703846", "0.5530774", "0.54550856", "0.533381", "0.5319277", "0.52304506", "0.5144899", "0.51391596", "0.5130412", "0.509269", "0.49462497", "0.4835633", "0.4781143", "0.47761893", "0.4767407", "0.47571504...
0.8065425
1
Sets the slx vector for a solution. putslx(self,whichsol_,slx_)
def putslx(self,whichsol_,slx_): _slx_minlength = self.getnumvar() if self.getnumvar() > 0 and slx_ is not None and len(slx_) != self.getnumvar(): raise ValueError("Array argument slx is not long enough: Is %d, expected %d" % (len(slx_),self.getnumvar())) if slx_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putslx(self,whichsol_,slx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if slx is None: raise TypeError(\"Invalid type for argument slx\")\n if slx is None:\n slx_ = None\n else:\n try:\n slx_ = memoryview(slx)\n...
[ "0.84727997", "0.757701", "0.734609", "0.70459515", "0.69720054", "0.6686734", "0.6545576", "0.6458134", "0.63578767", "0.6129842", "0.6112239", "0.60045344", "0.5910696", "0.59034264", "0.58935696", "0.58419704", "0.5817452", "0.58091056", "0.57681745", "0.57624376", "0.5740...
0.82795686
1
Sets the sux vector for a solution. putsux(self,whichsol_,sux_)
def putsux(self,whichsol_,sux_): _sux_minlength = self.getnumvar() if self.getnumvar() > 0 and sux_ is not None and len(sux_) != self.getnumvar(): raise ValueError("Array argument sux is not long enough: Is %d, expected %d" % (len(sux_),self.getnumvar())) if sux_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putsux(self,whichsol_,sux): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if sux is None: raise TypeError(\"Invalid type for argument sux\")\n if sux is None:\n sux_ = None\n else:\n try:\n sux_ = memoryview(sux)\n...
[ "0.79251313", "0.7518996", "0.73683834", "0.70813906", "0.70303714", "0.6494193", "0.64375514", "0.63787395", "0.6356418", "0.6146755", "0.6098636", "0.59146196", "0.5867827", "0.58237064", "0.57103294", "0.5519599", "0.5411028", "0.5345834", "0.5342507", "0.5303581", "0.5282...
0.76423484
1
Sets the snx vector for a solution. putsnx(self,whichsol_,sux_)
def putsnx(self,whichsol_,sux_): _sux_minlength = self.getnumvar() if self.getnumvar() > 0 and sux_ is not None and len(sux_) != self.getnumvar(): raise ValueError("Array argument sux is not long enough: Is %d, expected %d" % (len(sux_),self.getnumvar())) if sux_ is None: raise ValueError("Argum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putsnx(self,whichsol_,sux): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if sux is None: raise TypeError(\"Invalid type for argument sux\")\n if sux is None:\n sux_ = None\n else:\n try:\n sux_ = memoryview(sux)\n...
[ "0.8124215", "0.7021743", "0.6980632", "0.6966811", "0.6813222", "0.6800751", "0.67092973", "0.66968876", "0.66748786", "0.6496435", "0.63811874", "0.6318186", "0.62490666", "0.5961369", "0.59006256", "0.58907515", "0.57933617", "0.57347393", "0.5712153", "0.56779563", "0.562...
0.80041677
1
Sets the status keys for a slice of the constraints. putskcslice(self,whichsol_,first_,last_,skc_)
def putskcslice(self,whichsol_,first_,last_,skc_): _skc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and skc_ is not None and len(skc_) != ((last_) - (first_)): raise ValueError("Array argument skc is not long enough: Is %d, expected %d" % (len(skc_),((last_) - (first_)))) if skc_ is n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putskcslice(self,whichsol_,first_,last_,skc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if skc is None:\n skc_ = None\n else:\n try:\n skc_ = memoryview(skc)\n except TypeError:\n try:\n _...
[ "0.79454774", "0.75047725", "0.7407678", "0.7173813", "0.7109814", "0.69620323", "0.688445", "0.6570131", "0.65653163", "0.644008", "0.64193016", "0.63047063", "0.6149271", "0.61239773", "0.60884666", "0.60470337", "0.6041082", "0.6021966", "0.6010248", "0.59961426", "0.59598...
0.80113786
0
Sets the status keys for a slice of the variables. putskxslice(self,whichsol_,first_,last_,skx_)
def putskxslice(self,whichsol_,first_,last_,skx_): _skx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and skx_ is not None and len(skx_) != ((last_) - (first_)): raise ValueError("Array argument skx is not long enough: Is %d, expected %d" % (len(skx_),((last_) - (first_)))) if skx_ is N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putskxslice(self,whichsol_,first_,last_,skx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if skx is None: raise TypeError(\"Invalid type for argument skx\")\n if skx is None:\n skx_ = None\n else:\n try:\n skx_ =...
[ "0.78931737", "0.7580194", "0.75786614", "0.70705414", "0.6861257", "0.6841048", "0.6743091", "0.65563947", "0.6522296", "0.64854133", "0.64648354", "0.6417967", "0.64111745", "0.6388277", "0.6313509", "0.6206941", "0.61367166", "0.60655457", "0.60014707", "0.5933573", "0.589...
0.79880005
0
Sets a slice of the xc vector for a solution. putxcslice(self,whichsol_,first_,last_,xc_)
def putxcslice(self,whichsol_,first_,last_,xc_): _xc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and xc_ is not None and len(xc_) != ((last_) - (first_)): raise ValueError("Array argument xc is not long enough: Is %d, expected %d" % (len(xc_),((last_) - (first_)))) if xc_ is None: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putxcslice(self,whichsol_,first_,last_,xc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if xc is None: raise TypeError(\"Invalid type for argument xc\")\n if xc is None:\n xc_ = None\n else:\n try:\n xc_ = memory...
[ "0.8484041", "0.7903161", "0.7884057", "0.7309912", "0.7146928", "0.7065587", "0.70522225", "0.6999224", "0.69972736", "0.6951669", "0.6913128", "0.6899812", "0.6836824", "0.6834631", "0.6740456", "0.66461045", "0.65965986", "0.6587351", "0.6582062", "0.6548527", "0.6501206",...
0.8493223
0
Sets a slice of the xx vector for a solution. putxxslice(self,whichsol_,first_,last_,xx_)
def putxxslice(self,whichsol_,first_,last_,xx_): _xx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and xx_ is not None and len(xx_) != ((last_) - (first_)): raise ValueError("Array argument xx is not long enough: Is %d, expected %d" % (len(xx_),((last_) - (first_)))) if xx_ is None: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putxxslice(self,whichsol_,first_,last_,xx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if xx is None: raise TypeError(\"Invalid type for argument xx\")\n if xx is None:\n xx_ = None\n else:\n try:\n xx_ = memory...
[ "0.8414716", "0.76765615", "0.7619203", "0.6960035", "0.6920817", "0.6883253", "0.6782231", "0.673264", "0.67314667", "0.6711455", "0.66831595", "0.6615616", "0.6601599", "0.6569291", "0.6523913", "0.6473738", "0.6392303", "0.6208213", "0.61735755", "0.61449444", "0.5961191",...
0.835278
1
Sets a slice of the y vector for a solution. putyslice(self,whichsol_,first_,last_,y_)
def putyslice(self,whichsol_,first_,last_,y_): _y_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and y_ is not None and len(y_) != ((last_) - (first_)): raise ValueError("Array argument y is not long enough: Is %d, expected %d" % (len(y_),((last_) - (first_)))) if y_ is None: raise...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putyslice(self,whichsol_,first_,last_,y): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if y is None: raise TypeError(\"Invalid type for argument y\")\n if y is None:\n y_ = None\n else:\n try:\n y_ = memoryview(y)...
[ "0.82857347", "0.7882383", "0.78458613", "0.6470758", "0.64416134", "0.629237", "0.62799585", "0.6174029", "0.60688806", "0.59423494", "0.59167624", "0.5902043", "0.5868281", "0.5862139", "0.5847072", "0.58451796", "0.5844967", "0.5815283", "0.581092", "0.5778133", "0.5759294...
0.8261594
1
Sets a slice of the slc vector for a solution. putslcslice(self,whichsol_,first_,last_,slc_)
def putslcslice(self,whichsol_,first_,last_,slc_): _slc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and slc_ is not None and len(slc_) != ((last_) - (first_)): raise ValueError("Array argument slc is not long enough: Is %d, expected %d" % (len(slc_),((last_) - (first_)))) if slc_ is N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putslcslice(self,whichsol_,first_,last_,slc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if slc is None: raise TypeError(\"Invalid type for argument slc\")\n if slc is None:\n slc_ = None\n else:\n try:\n slc_ =...
[ "0.8701502", "0.8133429", "0.806384", "0.76658696", "0.7658473", "0.7546955", "0.74436045", "0.7409827", "0.7223596", "0.6984172", "0.6980541", "0.6971406", "0.69320714", "0.6919073", "0.68930155", "0.68504506", "0.6744624", "0.65483", "0.65033495", "0.6489441", "0.63791984",...
0.86964875
1
Sets a slice of the suc vector for a solution. putsucslice(self,whichsol_,first_,last_,suc_)
def putsucslice(self,whichsol_,first_,last_,suc_): _suc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and suc_ is not None and len(suc_) != ((last_) - (first_)): raise ValueError("Array argument suc is not long enough: Is %d, expected %d" % (len(suc_),((last_) - (first_)))) if suc_ is N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putsucslice(self,whichsol_,first_,last_,suc): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if suc is None: raise TypeError(\"Invalid type for argument suc\")\n if suc is None:\n suc_ = None\n else:\n try:\n suc_ =...
[ "0.85092914", "0.79236835", "0.7901774", "0.710677", "0.6811282", "0.6809746", "0.67143184", "0.66562814", "0.6645037", "0.6538894", "0.650998", "0.64967585", "0.63445026", "0.63221073", "0.6295248", "0.61873865", "0.6112312", "0.6103999", "0.61039084", "0.606613", "0.5948238...
0.8509022
1
Sets a slice of the slx vector for a solution. putslxslice(self,whichsol_,first_,last_,slx_)
def putslxslice(self,whichsol_,first_,last_,slx_): _slx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and slx_ is not None and len(slx_) != ((last_) - (first_)): raise ValueError("Array argument slx is not long enough: Is %d, expected %d" % (len(slx_),((last_) - (first_)))) if slx_ is N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putslxslice(self,whichsol_,first_,last_,slx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if slx is None: raise TypeError(\"Invalid type for argument slx\")\n if slx is None:\n slx_ = None\n else:\n try:\n slx_ =...
[ "0.87658566", "0.8256838", "0.82101905", "0.7792551", "0.76803", "0.7590878", "0.754748", "0.73802775", "0.73302394", "0.73208", "0.7255603", "0.7252787", "0.72040206", "0.7198659", "0.71512777", "0.7144093", "0.7055716", "0.70355844", "0.7016022", "0.6608226", "0.6572912", ...
0.8742748
1
Sets a slice of the sux vector for a solution. putsuxslice(self,whichsol_,first_,last_,sux_)
def putsuxslice(self,whichsol_,first_,last_,sux_): _sux_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and sux_ is not None and len(sux_) != ((last_) - (first_)): raise ValueError("Array argument sux is not long enough: Is %d, expected %d" % (len(sux_),((last_) - (first_)))) if sux_ is N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putsuxslice(self,whichsol_,first_,last_,sux): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if sux is None: raise TypeError(\"Invalid type for argument sux\")\n if sux is None:\n sux_ = None\n else:\n try:\n sux_ =...
[ "0.8508719", "0.83340466", "0.8057801", "0.69197226", "0.6710496", "0.64897186", "0.6475755", "0.6451187", "0.6406239", "0.6389337", "0.6378048", "0.63440204", "0.63357335", "0.63132656", "0.62359446", "0.62201715", "0.6173615", "0.616365", "0.61357236", "0.6130329", "0.61110...
0.83344233
1
Sets a slice of the snx vector for a solution. putsnxslice(self,whichsol_,first_,last_,snx_)
def putsnxslice(self,whichsol_,first_,last_,snx_): _snx_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and snx_ is not None and len(snx_) != ((last_) - (first_)): raise ValueError("Array argument snx is not long enough: Is %d, expected %d" % (len(snx_),((last_) - (first_)))) if snx_ is N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putsnxslice(self,whichsol_,first_,last_,snx): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if snx is None: raise TypeError(\"Invalid type for argument snx\")\n if snx is None:\n snx_ = None\n else:\n try:\n snx_ =...
[ "0.85671264", "0.805008", "0.79371846", "0.79229695", "0.7840644", "0.7586533", "0.75405127", "0.7280455", "0.7215171", "0.6978972", "0.6911959", "0.67005694", "0.66865796", "0.6662985", "0.66343945", "0.662925", "0.6617821", "0.66010696", "0.65472627", "0.6508029", "0.645928...
0.86426115
0
Sets the primal solution for a semidefinite variable. putbarxj(self,whichsol_,j_,barxj_)
def putbarxj(self,whichsol_,j_,barxj_): _barxj_minlength = self.getlenbarvarj((j_)) if self.getlenbarvarj((j_)) > 0 and barxj_ is not None and len(barxj_) != self.getlenbarvarj((j_)): raise ValueError("Array argument barxj is not long enough: Is %d, expected %d" % (len(barxj_),self.getlenbarvarj((j_)))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbarxj(self,whichsol_,j_,barxj): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if barxj is None: raise TypeError(\"Invalid type for argument barxj\")\n if barxj is None:\n barxj_ = None\n else:\n try:\n barxj_ = ...
[ "0.770654", "0.70869404", "0.70080966", "0.6835413", "0.6786031", "0.6757253", "0.63863504", "0.61618286", "0.5885918", "0.5792498", "0.5745077", "0.5469879", "0.5450824", "0.5299678", "0.5173049", "0.51557606", "0.51208526", "0.50883186", "0.5061993", "0.50501186", "0.503718...
0.78300554
0
Sets the dual solution for a semidefinite variable. putbarsj(self,whichsol_,j_,barsj_)
def putbarsj(self,whichsol_,j_,barsj_): _barsj_minlength = self.getlenbarvarj((j_)) if self.getlenbarvarj((j_)) > 0 and barsj_ is not None and len(barsj_) != self.getlenbarvarj((j_)): raise ValueError("Array argument barsj is not long enough: Is %d, expected %d" % (len(barsj_),self.getlenbarvarj((j_)))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbarsj(self,whichsol_,j_,barsj): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if barsj is None: raise TypeError(\"Invalid type for argument barsj\")\n if barsj is None:\n barsj_ = None\n else:\n try:\n barsj_ = ...
[ "0.7529406", "0.7106301", "0.7095135", "0.704483", "0.70355266", "0.6961045", "0.63031244", "0.62779295", "0.62522095", "0.61191875", "0.5482647", "0.5454781", "0.53319716", "0.5229526", "0.5227902", "0.5091524", "0.50431776", "0.4994456", "0.49108714", "0.48669758", "0.48429...
0.76711816
0
Computes the violation of a primal solution associated to a constraint. getpviolcon(self,whichsol_,sub_,viol_)
def getpviolcon(self,whichsol_,sub_,viol_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if sub_ is None: raise ValueError("Argument sub cannot be None") if sub_ is None: raise ValueError("Argument ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getpviolcon(self,whichsol_,sub,viol): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n num_ = None\n if num_ is None:\n num_ = len(sub)\n elif num_ != len(sub):\n raise IndexError(\"Inconsistent length of array sub\")\n i...
[ "0.8221106", "0.7790813", "0.7730766", "0.7602995", "0.75367993", "0.7487027", "0.74122614", "0.7377827", "0.7157516", "0.71299803", "0.71229476", "0.70915055", "0.7080185", "0.6899327", "0.6775787", "0.6151009", "0.59081674", "0.5845173", "0.5752855", "0.5502655", "0.5453856...
0.80390424
1
Computes the violation of a primal solution for a list of scalar variables. getpviolvar(self,whichsol_,sub_,viol_)
def getpviolvar(self,whichsol_,sub_,viol_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if sub_ is None: raise ValueError("Argument sub cannot be None") if sub_ is None: raise ValueError("Argument ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getpviolvar(self,whichsol_,sub,viol): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n num_ = None\n if num_ is None:\n num_ = len(sub)\n elif num_ != len(sub):\n raise IndexError(\"Inconsistent length of array sub\")\n i...
[ "0.8212852", "0.80189174", "0.77537113", "0.7703347", "0.76981986", "0.7579893", "0.72967196", "0.7223914", "0.7146749", "0.70975226", "0.7050911", "0.6550313", "0.6498878", "0.64796567", "0.64707077", "0.6052757", "0.5924624", "0.57292634", "0.5577812", "0.55258375", "0.5510...
0.82613945
0
Computes the violation of a primal solution for a list of semidefinite variables. getpviolbarvar(self,whichsol_,sub_,viol_)
def getpviolbarvar(self,whichsol_,sub_,viol_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if sub_ is None: raise ValueError("Argument sub cannot be None") if sub_ is None: raise ValueError("Argume...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getpviolbarvar(self,whichsol_,sub,viol): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n num_ = None\n if num_ is None:\n num_ = len(sub)\n elif num_ != len(sub):\n raise IndexError(\"Inconsistent length of array sub\")\n ...
[ "0.83343863", "0.8084883", "0.8037239", "0.78737986", "0.78627396", "0.7469893", "0.74174345", "0.69883305", "0.6957489", "0.69532615", "0.68989563", "0.626489", "0.6257099", "0.62073106", "0.61752826", "0.57343996", "0.56017363", "0.55548275", "0.5449524", "0.5389601", "0.51...
0.8388323
0
Computes the violation of a solution for set of conic constraints. getpviolcones(self,whichsol_,sub_,viol_)
def getpviolcones(self,whichsol_,sub_,viol_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if sub_ is None: raise ValueError("Argument sub cannot be None") if sub_ is None: raise ValueError("Argumen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getpviolcones(self,whichsol_,sub,viol): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n num_ = None\n if num_ is None:\n num_ = len(sub)\n elif num_ != len(sub):\n raise IndexError(\"Inconsistent length of array sub\")\n ...
[ "0.83693093", "0.8122024", "0.7921561", "0.78917754", "0.77556485", "0.7697431", "0.7501031", "0.7185669", "0.7032077", "0.6933271", "0.68799603", "0.68395555", "0.6595575", "0.6583671", "0.6386636", "0.5925055", "0.56148916", "0.557249", "0.53885525", "0.5341692", "0.5337214...
0.82360274
1
Computes the violation of a dual solution associated with a set of constraints. getdviolcon(self,whichsol_,sub_,viol_)
def getdviolcon(self,whichsol_,sub_,viol_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if sub_ is None: raise ValueError("Argument sub cannot be None") if sub_ is None: raise ValueError("Argument ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getdviolcon(self,whichsol_,sub,viol): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n num_ = None\n if num_ is None:\n num_ = len(sub)\n elif num_ != len(sub):\n raise IndexError(\"Inconsistent length of array sub\")\n i...
[ "0.8264367", "0.7939531", "0.7797766", "0.7729366", "0.7491869", "0.7458984", "0.74276316", "0.73932475", "0.72558373", "0.7188696", "0.6913235", "0.6899007", "0.6882057", "0.66232663", "0.63962924", "0.63402534", "0.63103604", "0.5714966", "0.5601739", "0.55801475", "0.55735...
0.7908079
2