query
stringlengths
9
9.05k
document
stringlengths
10
222k
metadata
dict
negatives
listlengths
30
30
negative_scores
listlengths
30
30
document_score
stringlengths
4
10
document_rank
stringclasses
2 values
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 scalar variables. getdviolvar(self,whichsol_,sub_,viol_)
def getdviolvar(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 getdviolvar(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.842469", "0.8020049", "0.7901954", "0.78885037", "0.7700739", "0.74876314", "0.7316246", "0.7308457", "0.71310973", "0.7126803", "0.70612556", "0.69538635", "0.6839152", "0.6820221", "0.6764274", "0.63441837", "0.60243124", "0.58630145", "0.58565766", "0.5746518", "0.56699...
0.8300813
1
Computes the violation of dual solution for a set of semidefinite variables. getdviolbarvar(self,whichsol_,sub_,viol_)
def getdviolbarvar(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 getdviolbarvar(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.8365152", "0.820791", "0.80888903", "0.80470765", "0.8035463", "0.79758537", "0.7821625", "0.71889246", "0.7017734", "0.69864213", "0.69533056", "0.6851415", "0.68440586", "0.6822642", "0.6695411", "0.5912819", "0.5740153", "0.5733863", "0.56503063", "0.55693674", "0.54391...
0.833021
1
Obtains information about of a solution. getsolutioninfo(self,whichsol_)
def getsolutioninfo(self,whichsol_): pobj_ = ctypes.c_double() pviolcon_ = ctypes.c_double() pviolvar_ = ctypes.c_double() pviolbarvar_ = ctypes.c_double() pviolcone_ = ctypes.c_double() pviolitg_ = ctypes.c_double() dobj_ = ctypes.c_double() dviolcon_ = ctypes.c_double() dviolvar_ =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsolutioninfo(self,whichsol_): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n res,resargs = self.__obj.getsolutioninfo(whichsol_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _po...
[ "0.83259404", "0.7097056", "0.70560944", "0.62482697", "0.61821", "0.6134684", "0.5949938", "0.5949938", "0.58852124", "0.5849498", "0.58224726", "0.5818088", "0.5818062", "0.58057815", "0.5803957", "0.57681364", "0.5765166", "0.57560706", "0.5745533", "0.57215154", "0.570536...
0.76058203
1
Compute norms of the dual solution. getdualsolutionnorms(self,whichsol_)
def getdualsolutionnorms(self,whichsol_): nrmy_ = ctypes.c_double() nrmslc_ = ctypes.c_double() nrmsuc_ = ctypes.c_double() nrmslx_ = ctypes.c_double() nrmsux_ = ctypes.c_double() nrmsnx_ = ctypes.c_double() nrmbars_ = ctypes.c_double() res = __library__.MSK_XX_getdualsolutionnorms(self....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getdualsolutionnorms(self,whichsol_): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n res,resargs = self.__obj.getdualsolutionnorms(whichsol_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\...
[ "0.86213017", "0.7799082", "0.75975305", "0.5843836", "0.58425874", "0.58296424", "0.58143187", "0.5741888", "0.572548", "0.5703944", "0.56897783", "0.5674844", "0.56606346", "0.5631683", "0.5582", "0.5572983", "0.55595255", "0.555448", "0.5498853", "0.54523396", "0.544812", ...
0.8386281
1
Compute norms of the primal solution. getprimalsolutionnorms(self,whichsol_)
def getprimalsolutionnorms(self,whichsol_): nrmxc_ = ctypes.c_double() nrmxx_ = ctypes.c_double() nrmbarx_ = ctypes.c_double() res = __library__.MSK_XX_getprimalsolutionnorms(self.__nativep,whichsol_,ctypes.byref(nrmxc_),ctypes.byref(nrmxx_),ctypes.byref(nrmbarx_)) if res != 0: _,msg = self.__...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getprimalsolutionnorms(self,whichsol_): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n res,resargs = self.__obj.getprimalsolutionnorms(whichsol_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),m...
[ "0.8324788", "0.7253409", "0.7123311", "0.5990859", "0.5774027", "0.5561484", "0.5471691", "0.5438935", "0.5428926", "0.5412315", "0.54044545", "0.5353224", "0.5341129", "0.5296491", "0.5293551", "0.5284404", "0.52810794", "0.52686256", "0.52663827", "0.52657825", "0.52632594...
0.8563136
0
Obtains a slice of the solution. getsolutionslice(self,whichsol_,solitem_,first_,last_,values_)
def getsolutionslice(self,whichsol_,solitem_,first_,last_,values_): _values_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and values_ is not None and len(values_) != ((last_) - (first_)): raise ValueError("Array argument values is not long enough: Is %d, expected %d" % (len(values_),((last_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getsolutionslice(self,whichsol_,solitem_,first_,last_,values): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n if not isinstance(solitem_,solitem): raise TypeError(\"Argument solitem has wrong type\")\n _copyback_values = False\n if values...
[ "0.87597924", "0.65897465", "0.65460825", "0.652142", "0.64466506", "0.6407843", "0.6392543", "0.6389086", "0.638142", "0.62045497", "0.6178242", "0.615228", "0.614273", "0.6135625", "0.61208415", "0.6096903", "0.6052912", "0.59870696", "0.5830406", "0.5768767", "0.573988", ...
0.8561782
1
Obtains the reduced costs for a sequence of variables. getreducedcosts(self,whichsol_,first_,last_,redcosts_)
def getreducedcosts(self,whichsol_,first_,last_,redcosts_): _redcosts_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and redcosts_ is not None and len(redcosts_) != ((last_) - (first_)): raise ValueError("Array argument redcosts is not long enough: Is %d, expected %d" % (len(redcosts_),((las...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getreducedcosts(self,whichsol_,first_,last_,redcosts): # 3\n if not isinstance(whichsol_,soltype): raise TypeError(\"Argument whichsol has wrong type\")\n _copyback_redcosts = False\n if redcosts is None:\n redcosts_ = None\n else:\n try:\n redcosts_ = memoryview(redc...
[ "0.8526416", "0.5733916", "0.5447237", "0.535488", "0.5351056", "0.5340395", "0.5331999", "0.533112", "0.523295", "0.5223164", "0.52220964", "0.5167097", "0.51390874", "0.5138091", "0.5131547", "0.51277804", "0.5109994", "0.5080163", "0.5077774", "0.5056903", "0.5050309", "...
0.8104121
1
Obtains the value of a string parameter. getstrparam(self,param_)
def getstrparam(self,param_): maxlen_ = (1 + self.getstrparamlen((param_))) len_ = ctypes.c_int32() parvalue_ = (ctypes.c_char * (maxlen_))() res = __library__.MSK_XX_getstrparam(self.__nativep,param_,maxlen_,ctypes.byref(len_),parvalue_) if res != 0: _,msg = self.__getlasterror(res) rai...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getStrParam(self, paramkey, default=None):\n value = self.request.getParameter(paramkey)\n if value is None: return default\n return value", "def getstrparam(self,param_): # 3\n if not isinstance(param_,sparam): raise TypeError(\"Argument param has wrong type\")\n maxlen_ = (1 ...
[ "0.7935466", "0.7634089", "0.7359659", "0.720644", "0.67880225", "0.67430836", "0.6694598", "0.6593283", "0.65884066", "0.6575903", "0.6563992", "0.65217215", "0.6457357", "0.6379218", "0.63673365", "0.63578653", "0.63423514", "0.6282078", "0.62551343", "0.6241636", "0.619703...
0.80357796
0
Obtains the length of a string parameter. getstrparamlen(self,param_)
def getstrparamlen(self,param_): len_ = ctypes.c_int32() res = __library__.MSK_XX_getstrparamlen(self.__nativep,param_,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 getstrparamlen(self,param_): # 3\n if not isinstance(param_,sparam): raise TypeError(\"Argument param has wrong type\")\n res,resargs = self.__obj.getstrparamlen(param_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _len_return_value ...
[ "0.9096072", "0.71522003", "0.6668345", "0.65663975", "0.6506962", "0.64881116", "0.6398439", "0.614287", "0.61132294", "0.6104768", "0.6094698", "0.5968915", "0.5955851", "0.59100646", "0.5908313", "0.58431584", "0.58408535", "0.582819", "0.5819093", "0.5803778", "0.5803778"...
0.9009316
1
Obtains the length the task name. gettasknamelen(self)
def gettasknamelen(self): len_ = ctypes.c_int32() res = __library__.MSK_XX_gettasknamelen(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 gettasknamelen(self): # 3\n res,resargs = self.__obj.gettasknamelen()\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 gettaskname(self):\n sizetaskname_ = (1 + self.gett...
[ "0.8965651", "0.7397242", "0.72126365", "0.667672", "0.6508015", "0.6390483", "0.6323408", "0.62874895", "0.61902267", "0.61406875", "0.61028075", "0.61009693", "0.61009693", "0.60868466", "0.58861375", "0.58722395", "0.58384854", "0.5818338", "0.5761852", "0.5759502", "0.575...
0.88484406
1
Gets the variable type of one variable. getvartype(self,j_)
def getvartype(self,j_): vartype_ = ctypes.c_int32() res = __library__.MSK_XX_getvartype(self.__nativep,j_,ctypes.byref(vartype_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) _vartype_return_value = variabletype(vartype_.value) return (_vartype_return_valu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getvartype(self,j_): # 3\n res,resargs = self.__obj.getvartype(j_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _vartype_return_value = resargs\n _vartype_return_value = variabletype(_vartype_return_value)\n return _vartype_retu...
[ "0.905106", "0.68339425", "0.6826129", "0.6610592", "0.64489937", "0.6415037", "0.63719475", "0.6252331", "0.61517644", "0.61124295", "0.60500795", "0.6013344", "0.5994384", "0.59254044", "0.5884005", "0.5843133", "0.5802532", "0.5790517", "0.5766481", "0.56811124", "0.566860...
0.8521373
1
Obtains the variable type for one or more variables. getvartypelist(self,subj_,vartype_)
def getvartypelist(self,subj_,vartype_): 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("Argume...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getvartypelist(self,subj,vartype): # 3\n num_ = None\n if num_ is None:\n num_ = len(subj)\n elif num_ != len(subj):\n raise IndexError(\"Inconsistent length of array subj\")\n if num_ is None: num_ = 0\n if subj is None: raise TypeError(\"Invalid type for argument subj\"...
[ "0.79822195", "0.6934229", "0.6789694", "0.65395796", "0.61634475", "0.6046211", "0.5934622", "0.58922654", "0.5809417", "0.5805788", "0.56369525", "0.55829936", "0.5531917", "0.5438396", "0.5414235", "0.53518057", "0.53442925", "0.5290569", "0.52470815", "0.52378434", "0.522...
0.7767394
1
Input the linear part of an optimization task in one function call. inputdata(self,maxnumcon_,maxnumvar_,c_,cfix_,aptrb_,aptre_,asub_,aval_,bkc_,blc_,buc_,bkx_,blx_,bux_)
def inputdata(self,maxnumcon_,maxnumvar_,c_,cfix_,aptrb_,aptre_,asub_,aval_,bkc_,blc_,buc_,bkx_,blx_,bux_): numcon_ = None if numcon_ is None: numcon_ = len(buc_) elif numcon_ != len(buc_): raise IndexError("Inconsistent length of array buc") if numcon_ is None: numcon_ = len(blc_) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def inputdata(self,maxnumcon_,maxnumvar_,c,cfix_,aptrb,aptre,asub,aval,bkc,blc,buc,bkx,blx,bux): # 3\n numcon_ = None\n if numcon_ is None:\n numcon_ = len(buc)\n elif numcon_ != len(buc):\n raise IndexError(\"Inconsistent length of array buc\")\n if numcon_ is None:\n numc...
[ "0.75954765", "0.58628434", "0.56659245", "0.5474209", "0.54651934", "0.5464624", "0.5457585", "0.5383377", "0.53758955", "0.5368115", "0.53530073", "0.53413105", "0.5320913", "0.5311969", "0.5309887", "0.5296562", "0.52821916", "0.5266035", "0.52494615", "0.524528", "0.52344...
0.7667418
0
Checks a double parameter name. isdouparname(self,parname_)
def isdouparname(self,parname_): if isinstance(parname_,unicode): parname_ = parname_.encode("utf-8",errors="replace") param_ = ctypes.c_int32() res = __library__.MSK_XX_isdouparname(self.__nativep,parname_,ctypes.byref(param_)) if res != 0: _,msg = self.__getlasterror(res) raise Error...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isdouparname(self,parname_): # 3\n res,resargs = self.__obj.isdouparname(parname_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _param_return_value = resargs\n _param_return_value = dparam(_param_return_value)\n return _param_re...
[ "0.80806935", "0.68700576", "0.64967716", "0.63709056", "0.61381704", "0.60840553", "0.59852844", "0.5982808", "0.58434045", "0.5807862", "0.5747373", "0.57192117", "0.5711429", "0.5684285", "0.5672923", "0.56625664", "0.56414455", "0.5623535", "0.56149685", "0.5614595", "0.5...
0.75950897
1
Checks an integer parameter name. isintparname(self,parname_)
def isintparname(self,parname_): if isinstance(parname_,unicode): parname_ = parname_.encode("utf-8",errors="replace") param_ = ctypes.c_int32() res = __library__.MSK_XX_isintparname(self.__nativep,parname_,ctypes.byref(param_)) if res != 0: _,msg = self.__getlasterror(res) raise Error...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isintparname(self,parname_): # 3\n res,resargs = self.__obj.isintparname(parname_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _param_return_value = resargs\n _param_return_value = iparam(_param_return_value)\n return _param_re...
[ "0.8943503", "0.72626674", "0.7105855", "0.6482964", "0.63203907", "0.6214711", "0.61602587", "0.61551595", "0.60910577", "0.6028535", "0.59252524", "0.57617325", "0.5749392", "0.57139874", "0.5683462", "0.5636818", "0.56267637", "0.56267637", "0.5624048", "0.56225157", "0.56...
0.8926859
1
Checks a string parameter name. isstrparname(self,parname_)
def isstrparname(self,parname_): if isinstance(parname_,unicode): parname_ = parname_.encode("utf-8",errors="replace") param_ = ctypes.c_int32() res = __library__.MSK_XX_isstrparname(self.__nativep,parname_,ctypes.byref(param_)) if res != 0: _,msg = self.__getlasterror(res) raise Error...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isstrparname(self,parname_): # 3\n res,resargs = self.__obj.isstrparname(parname_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _param_return_value = resargs\n _param_return_value = sparam(_param_return_value)\n return _param_re...
[ "0.89850354", "0.7278682", "0.7277868", "0.7031824", "0.70296276", "0.6844901", "0.6804795", "0.6768947", "0.6753342", "0.66259956", "0.66259956", "0.64886266", "0.62590593", "0.62335366", "0.61893946", "0.6130385", "0.6129044", "0.61108005", "0.6060818", "0.6014146", "0.5991...
0.8786404
1
Directs all output from a task stream to a file. linkfiletostream(self,whichstream_,filename_,append_)
def linkfiletostream(self,whichstream_,filename_,append_): if isinstance(filename_,unicode): filename_ = filename_.encode("utf-8",errors="replace") res = __library__.MSK_XX_linkfiletotaskstream(self.__nativep,whichstream_,filename_,append_) if res != 0: _,msg = self.__getlasterror(res) rai...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def linkfiletostream(self,whichstream_,filename_,append_): # 3\n if not isinstance(whichstream_,streamtype): raise TypeError(\"Argument whichstream has wrong type\")\n res = self.__obj.linkfiletotaskstream(whichstream_,filename_,append_)\n if res != 0:\n result,msg = self.__getlasterror(res)\...
[ "0.8318727", "0.77448934", "0.7373398", "0.57945675", "0.5791961", "0.5715489", "0.5558145", "0.55282754", "0.55161315", "0.54058146", "0.533981", "0.5332803", "0.5253724", "0.5166495", "0.51639307", "0.51587784", "0.5121433", "0.50872654", "0.50666916", "0.50341964", "0.5025...
0.8256208
1
Repairs a primal infeasible optimization problem by adjusting the bounds on the constraints and variables. primalrepair(self,wlc_,wuc_,wlx_,wux_)
def primalrepair(self,wlc_,wuc_,wlx_,wux_): _wlc_minlength = self.getnumcon() if self.getnumcon() > 0 and wlc_ is not None and len(wlc_) != self.getnumcon(): raise ValueError("Array argument wlc is not long enough: Is %d, expected %d" % (len(wlc_),self.getnumcon())) if isinstance(wlc_, numpy.ndarray) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def primalrepair(self,wlc,wuc,wlx,wux): # 3\n if wlc is None:\n wlc_ = None\n else:\n try:\n wlc_ = memoryview(wlc)\n except TypeError:\n try:\n _tmparr_wlc = array.array(\"d\",wlc)\n except TypeError:\n raise TypeError(\"Argument wlc ...
[ "0.80588853", "0.57209605", "0.56667006", "0.56207", "0.5570829", "0.55265594", "0.55035216", "0.54500896", "0.543349", "0.5393113", "0.53447133", "0.533168", "0.5316762", "0.5287845", "0.52589554", "0.5221941", "0.51770306", "0.5143078", "0.5087917", "0.50838614", "0.5065829...
0.78439325
1
Commits all cached problem changes. commitchanges(self)
def commitchanges(self): res = __library__.MSK_XX_commitchanges(self.__nativep) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def commitchanges(self): # 3\n res = self.__obj.commitchanges()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def commit_changes(self):\n self.connection.commit()", "def commit(self):\n pass", "def commit(self):\n pass",...
[ "0.76084656", "0.676833", "0.6732544", "0.6732544", "0.6732544", "0.6732544", "0.6732544", "0.6690966", "0.66586244", "0.6633915", "0.6497338", "0.64345556", "0.6411314", "0.6405037", "0.63306653", "0.6300718", "0.6299956", "0.62567204", "0.62290084", "0.6215825", "0.615116",...
0.70863163
1
Gets the current A matrix truncation threshold. getatruncatetol(self,tolzero_)
def getatruncatetol(self,tolzero_): _tolzero_minlength = 1 if 1 > 0 and tolzero_ is not None and len(tolzero_) != 1: raise ValueError("Array argument tolzero is not long enough: Is %d, expected %d" % (len(tolzero_),1)) if isinstance(tolzero_,numpy.ndarray) and not tolzero_.flags.writeable: raise...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putatruncatetol(self,tolzero_):\n res = __library__.MSK_XX_putatruncatetol(self.__nativep,tolzero_)\n if res != 0:\n _,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def root_threshold(self):\n return self._ll_tree.get_root_threshold()", "def get_abs_tolerance(self...
[ "0.67641044", "0.55815715", "0.55104095", "0.54922104", "0.536327", "0.53503454", "0.5266048", "0.52519375", "0.5251207", "0.51428974", "0.50763685", "0.5071689", "0.505621", "0.501474", "0.50051814", "0.49723387", "0.49293035", "0.49293035", "0.48994562", "0.48980278", "0.48...
0.7983391
0
Truncates all elements in A below a certain tolerance to zero. putatruncatetol(self,tolzero_)
def putatruncatetol(self,tolzero_): res = __library__.MSK_XX_putatruncatetol(self.__nativep,tolzero_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getatruncatetol(self,tolzero_):\n _tolzero_minlength = 1\n if 1 > 0 and tolzero_ is not None and len(tolzero_) != 1:\n raise ValueError(\"Array argument tolzero is not long enough: Is %d, expected %d\" % (len(tolzero_),1))\n if isinstance(tolzero_,numpy.ndarray) and not tolzero_.flags.writeable:\...
[ "0.80036145", "0.5751662", "0.5640666", "0.5628784", "0.55079186", "0.5492442", "0.5491674", "0.5307355", "0.5290475", "0.5286937", "0.52232546", "0.5209159", "0.5189761", "0.51801574", "0.5154854", "0.51260567", "0.5098613", "0.50700945", "0.5041812", "0.50397253", "0.503684...
0.7630597
1
Changes a single value in the linear coefficient matrix. putaij(self,i_,j_,aij_)
def putaij(self,i_,j_,aij_): res = __library__.MSK_XX_putaij(self.__nativep,i_,j_,aij_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putaij(self,i_,j_,aij_): # 3\n res = self.__obj.putaij(i_,j_,aij_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def getaij(self,i_,j_):\n aij_ = ctypes.c_double()\n res = __library__.MSK_XX_getaij(self.__nativep,i_,j_,ctypes.byref(aij...
[ "0.77300495", "0.6668987", "0.6660921", "0.6471983", "0.64646226", "0.6461473", "0.61172444", "0.6107512", "0.60523355", "0.6006178", "0.5970558", "0.5945894", "0.5909612", "0.59052235", "0.58720404", "0.58607316", "0.58551913", "0.58178586", "0.5790797", "0.5705922", "0.5656...
0.783983
0
Changes one or more coefficients in the linear constraint matrix. putaijlist(self,subi_,subj_,valij_)
def putaijlist(self,subi_,subj_,valij_): num_ = None if num_ is None: num_ = len(subi_) elif num_ != len(subi_): raise IndexError("Inconsistent length of array subi") if num_ is None: num_ = len(subj_) elif num_ != len(subj_): raise IndexError("Inconsistent length of array su...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putaijlist(self,subi,subj,valij): # 3\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 num_ is None:\n num_ = len(subj)\n elif num_ != len(subj):\n raise IndexError(\...
[ "0.76199657", "0.67067486", "0.6587105", "0.6432624", "0.6215005", "0.61117065", "0.5975101", "0.59496117", "0.5931895", "0.5928728", "0.5910426", "0.5877166", "0.56786174", "0.5629414", "0.5609968", "0.5585486", "0.5579588", "0.55791116", "0.5475792", "0.54427344", "0.536428...
0.7752596
0
Replaces all elements in one column of the linear constraint matrix. putacol(self,j_,subj_,valj_)
def putacol(self,j_,subj_,valj_): nzj_ = None if nzj_ is None: nzj_ = len(subj_) elif nzj_ != len(subj_): raise IndexError("Inconsistent length of array subj") if nzj_ is None: nzj_ = len(valj_) elif nzj_ != len(valj_): raise IndexError("Inconsistent length of array valj") ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putacol(self,j_,subj,valj): # 3\n nzj_ = None\n if nzj_ is None:\n nzj_ = len(subj)\n elif nzj_ != len(subj):\n raise IndexError(\"Inconsistent length of array subj\")\n if nzj_ is None:\n nzj_ = len(valj)\n elif nzj_ != len(valj):\n raise IndexError(\"Incon...
[ "0.7239256", "0.66198826", "0.6576874", "0.6424902", "0.5502499", "0.54932886", "0.5471949", "0.546628", "0.5395238", "0.5250104", "0.51579374", "0.5112476", "0.5112115", "0.5078982", "0.50694185", "0.506477", "0.5047945", "0.50186586", "0.5005424", "0.49487793", "0.49407876"...
0.7026005
1
Replaces all elements in one row of the linear constraint matrix. putarow(self,i_,subi_,vali_)
def putarow(self,i_,subi_,vali_): nzi_ = None if nzi_ is None: nzi_ = len(subi_) elif nzi_ != len(subi_): raise IndexError("Inconsistent length of array subi") if nzi_ is None: nzi_ = len(vali_) elif nzi_ != len(vali_): raise IndexError("Inconsistent length of array vali") ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putarow(self,i_,subi,vali): # 3\n nzi_ = None\n if nzi_ is None:\n nzi_ = len(subi)\n elif nzi_ != len(subi):\n raise IndexError(\"Inconsistent length of array subi\")\n if nzi_ is None:\n nzi_ = len(vali)\n elif nzi_ != len(vali):\n raise IndexError(\"Incon...
[ "0.67917335", "0.60628814", "0.5958818", "0.5807271", "0.5769178", "0.56926376", "0.5588199", "0.5587641", "0.5496159", "0.54637206", "0.5370489", "0.5326177", "0.5312469", "0.5302563", "0.52845985", "0.52328", "0.51951206", "0.5188997", "0.5179855", "0.5082866", "0.50648874"...
0.6598026
1
Replaces all elements in several rows the linear constraint matrix. putarowslice(self,first_,last_,ptrb_,ptre_,asub_,aval_)
def putarowslice(self,first_,last_,ptrb_,ptre_,asub_,aval_): _ptrb_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and ptrb_ is not None and len(ptrb_) != ((last_) - (first_)): raise ValueError("Array argument ptrb is not long enough: Is %d, expected %d" % (len(ptrb_),((last_) - (first_)))) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putacolslice(self,first_,last_,ptrb_,ptre_,asub_,aval_):\n if ptrb_ is None:\n raise ValueError(\"Argument ptrb cannot be None\")\n if ptrb_ is None:\n raise ValueError(\"Argument ptrb may not be None\")\n if isinstance(ptrb_, numpy.ndarray) and ptrb_.dtype is numpy.dtype(numpy.int64) and pt...
[ "0.7404314", "0.7322725", "0.7104161", "0.6849304", "0.6482448", "0.61469907", "0.61213756", "0.6089529", "0.5984134", "0.59686124", "0.59560657", "0.59348285", "0.591947", "0.5878643", "0.58049715", "0.5793094", "0.574386", "0.55775774", "0.5560746", "0.54988486", "0.5478345...
0.7555351
0
Replaces all elements in several rows of the linear constraint matrix. putarowlist(self,sub_,ptrb_,ptre_,asub_,aval_)
def putarowlist(self,sub_,ptrb_,ptre_,asub_,aval_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if num_ is None: num_ = len(ptrb_) elif num_ != len(ptrb_): raise IndexError("Inconsistent length of ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putacollist(self,sub_,ptrb_,ptre_,asub_,aval_):\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 if num_ is None:\n num_ = len(ptrb_)\n elif num_ != len(ptrb_):\n raise IndexError(\"Incons...
[ "0.7166984", "0.70779383", "0.7077155", "0.7009495", "0.6519843", "0.61421853", "0.6117272", "0.608168", "0.59091073", "0.58321506", "0.5795848", "0.5780153", "0.57748336", "0.5751861", "0.5738041", "0.5662904", "0.56070936", "0.54496944", "0.5404027", "0.5375109", "0.5352889...
0.73380697
0
Replaces all elements in a sequence of columns the linear constraint matrix. putacolslice(self,first_,last_,ptrb_,ptre_,asub_,aval_)
def putacolslice(self,first_,last_,ptrb_,ptre_,asub_,aval_): if ptrb_ is None: raise ValueError("Argument ptrb cannot be None") if ptrb_ is None: raise ValueError("Argument ptrb may not be None") if isinstance(ptrb_, numpy.ndarray) and ptrb_.dtype is numpy.dtype(numpy.int64) and ptrb_.flags.cont...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putacolslice(self,first_,last_,ptrb,ptre,asub,aval): # 3\n if ptrb is None: raise TypeError(\"Invalid type for argument ptrb\")\n if ptrb is None:\n ptrb_ = None\n else:\n try:\n ptrb_ = memoryview(ptrb)\n except TypeError:\n try:\n _tmparr_ptrb ...
[ "0.7589353", "0.7360616", "0.6743218", "0.64514834", "0.6416378", "0.64101464", "0.63146544", "0.6266777", "0.6082965", "0.58759755", "0.57552385", "0.5581388", "0.55421555", "0.54518884", "0.53525954", "0.53166443", "0.52935916", "0.52841985", "0.5253678", "0.5235242", "0.52...
0.79024863
0
Replaces all elements in several columns the linear constraint matrix. putacollist(self,sub_,ptrb_,ptre_,asub_,aval_)
def putacollist(self,sub_,ptrb_,ptre_,asub_,aval_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if num_ is None: num_ = len(ptrb_) elif num_ != len(ptrb_): raise IndexError("Inconsistent length of ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putacollist(self,sub,ptrb,ptre,asub,aval): # 3\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 if num_ is None:\n num_ = len(ptrb)\n elif num_ != len(ptrb):\n raise IndexE...
[ "0.74245644", "0.6290077", "0.6092594", "0.60655177", "0.5945023", "0.5859933", "0.5820203", "0.58128494", "0.57564044", "0.56575847", "0.5627294", "0.55868393", "0.5496758", "0.5488544", "0.5481107", "0.5311536", "0.49722016", "0.49675912", "0.4916937", "0.49151236", "0.4907...
0.7473528
0
Inputs an element of barA. putbaraij(self,i_,j_,sub_,weights_)
def putbaraij(self,i_,j_,sub_,weights_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if num_ is None: num_ = len(weights_) elif num_ != len(weights_): raise IndexError("Inconsistent length of array...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbaraij(self,i_,j_,sub,weights): # 3\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 if num_ is None:\n num_ = len(weights)\n elif num_ != len(weights):\n raise IndexErr...
[ "0.8622167", "0.7611092", "0.7276272", "0.72428167", "0.6288931", "0.6111654", "0.60395956", "0.5904328", "0.58659524", "0.58246255", "0.57645816", "0.55474997", "0.5455191", "0.54046607", "0.5398408", "0.53886384", "0.52858645", "0.526097", "0.5223889", "0.5210424", "0.52021...
0.81481034
1
Inputs list of elements of barA. putbaraijlist(self,subi_,subj_,alphaptrb_,alphaptre_,matidx_,weights_)
def putbaraijlist(self,subi_,subj_,alphaptrb_,alphaptre_,matidx_,weights_): num_ = None if num_ is None: num_ = len(subi_) elif num_ != len(subi_): raise IndexError("Inconsistent length of array subi") if num_ is None: num_ = len(subj_) elif num_ != len(subj_): raise IndexErr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbaraij(self,i_,j_,sub,weights): # 3\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 if num_ is None:\n num_ = len(weights)\n elif num_ != len(weights):\n raise IndexErr...
[ "0.72721004", "0.6810426", "0.671993", "0.6488707", "0.60943043", "0.5819522", "0.575237", "0.54880625", "0.52580094", "0.51958394", "0.5174712", "0.5102174", "0.50996226", "0.5046311", "0.50254816", "0.49972755", "0.49248773", "0.49245527", "0.48816815", "0.48778692", "0.487...
0.822026
0
Replace a set of rows of barA putbararowlist(self,subi_,ptrb_,ptre_,subj_,nummat_,matidx_,weights_)
def putbararowlist(self,subi_,ptrb_,ptre_,subj_,nummat_,matidx_,weights_): num_ = None if num_ is None: num_ = len(subi_) elif num_ != len(subi_): raise IndexError("Inconsistent length of array subi") if num_ is None: num_ = len(ptrb_) elif num_ != len(ptrb_): raise IndexErro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbaraijlist(self,subi_,subj_,alphaptrb_,alphaptre_,matidx_,weights_):\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 num_ is None:\n num_ = len(subj_)\n elif num_ != len(subj_):\n ...
[ "0.69141024", "0.57564807", "0.56130505", "0.55167717", "0.5442003", "0.5344216", "0.5246333", "0.5187387", "0.5142179", "0.49682668", "0.48680598", "0.48350987", "0.4808861", "0.4752955", "0.4751432", "0.47513345", "0.47332814", "0.46975785", "0.467135", "0.4622978", "0.4565...
0.7620331
0
Obtains the number of nonzero elements in barc. getnumbarcnz(self)
def getnumbarcnz(self): nz_ = ctypes.c_int64() res = __library__.MSK_XX_getnumbarcnz(self.__nativep,ctypes.byref(nz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) nz_ = nz_.value _nz_return_value = nz_ return (_nz_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumbarcnz(self): # 3\n res,resargs = self.__obj.getnumbarcnz()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _nz_return_value = resargs\n return _nz_return_value", "def getnumbaranz(self):\n nz_ = ctypes.c_int64()\n res = _...
[ "0.8414863", "0.732054", "0.7181858", "0.6833535", "0.6721521", "0.66638815", "0.65889084", "0.64409876", "0.64379865", "0.64336276", "0.63874006", "0.6374218", "0.6348899", "0.6307783", "0.6306807", "0.62579656", "0.62028146", "0.6169162", "0.61074764", "0.60677207", "0.6067...
0.790851
1
Get the number of nonzero elements in barA. getnumbaranz(self)
def getnumbaranz(self): nz_ = ctypes.c_int64() res = __library__.MSK_XX_getnumbaranz(self.__nativep,ctypes.byref(nz_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) nz_ = nz_.value _nz_return_value = nz_ return (_nz_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumbaranz(self): # 3\n res,resargs = self.__obj.getnumbaranz()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _nz_return_value = resargs\n return _nz_return_value", "def getnumbarcnz(self): # 3\n res,resargs = self.__obj.getn...
[ "0.73079044", "0.695428", "0.6405161", "0.6346526", "0.6294061", "0.62621385", "0.62515223", "0.6134515", "0.6053183", "0.60438895", "0.60046744", "0.5997218", "0.59886605", "0.5983975", "0.59795845", "0.59599566", "0.5944614", "0.59325683", "0.5888442", "0.5874875", "0.58482...
0.71311706
1
Get the positions of the nonzero elements in barc. getbarcsparsity(self,idxj_)
def getbarcsparsity(self,idxj_): maxnumnz_ = self.getnumbarcnz() numnz_ = ctypes.c_int64() _idxj_minlength = (maxnumnz_) if (maxnumnz_) > 0 and idxj_ is not None and len(idxj_) != (maxnumnz_): raise ValueError("Array argument idxj is not long enough: Is %d, expected %d" % (len(idxj_),(maxnumnz_)))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarcsparsity(self,idxj): # 3\n maxnumnz_ = self.getnumbarcnz()\n if idxj is None: raise TypeError(\"Invalid type for argument idxj\")\n _copyback_idxj = False\n if idxj is None:\n idxj_ = None\n else:\n try:\n idxj_ = memoryview(idxj)\n except TypeError...
[ "0.7913995", "0.7098691", "0.70675564", "0.6986523", "0.6893359", "0.6240509", "0.62401795", "0.5906834", "0.5778606", "0.57324004", "0.5551815", "0.5542871", "0.54500717", "0.52832943", "0.52578807", "0.52447194", "0.5243626", "0.5220802", "0.5206901", "0.51710534", "0.51589...
0.7981993
0
Obtains the sparsity pattern of the barA matrix. getbarasparsity(self,idxij_)
def getbarasparsity(self,idxij_): maxnumnz_ = self.getnumbaranz() numnz_ = ctypes.c_int64() _idxij_minlength = (maxnumnz_) if (maxnumnz_) > 0 and idxij_ is not None and len(idxij_) != (maxnumnz_): raise ValueError("Array argument idxij is not long enough: Is %d, expected %d" % (len(idxij_),(maxnum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarasparsity(self,idxij): # 3\n maxnumnz_ = self.getnumbaranz()\n if idxij is None: raise TypeError(\"Invalid type for argument idxij\")\n _copyback_idxij = False\n if idxij is None:\n idxij_ = None\n else:\n try:\n idxij_ = memoryview(idxij)\n except T...
[ "0.77351505", "0.72915465", "0.72167975", "0.5404141", "0.5340408", "0.5338645", "0.5234122", "0.52128935", "0.5133407", "0.51011145", "0.4957848", "0.49559408", "0.4946568", "0.48629996", "0.48176265", "0.47592816", "0.47335243", "0.47119555", "0.47081134", "0.46808594", "0....
0.7716057
1
Obtains information about an element in barc. getbarcidxinfo(self,idx_)
def getbarcidxinfo(self,idx_): num_ = ctypes.c_int64() res = __library__.MSK_XX_getbarcidxinfo(self.__nativep,idx_,ctypes.byref(num_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) num_ = num_.value _num_return_value = num_ return (_num_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarcidxinfo(self,idx_): # 3\n res,resargs = self.__obj.getbarcidxinfo(idx_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _num_return_value = resargs\n return _num_return_value", "def getbaraidxinfo(self,idx_):\n num_ = ctypes...
[ "0.86891156", "0.71962595", "0.70044905", "0.69010836", "0.6858001", "0.5903754", "0.5803983", "0.5737491", "0.56529295", "0.56049544", "0.55654025", "0.5553507", "0.54870677", "0.5413116", "0.5405953", "0.53953177", "0.5377202", "0.53466", "0.5336274", "0.53325117", "0.53131...
0.84884477
1
Obtains the row index of an element in barc. getbarcidxj(self,idx_)
def getbarcidxj(self,idx_): j_ = ctypes.c_int32() res = __library__.MSK_XX_getbarcidxj(self.__nativep,idx_,ctypes.byref(j_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) j_ = j_.value _j_return_value = j_ return (_j_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarcidxj(self,idx_): # 3\n res,resargs = self.__obj.getbarcidxj(idx_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _j_return_value = resargs\n return _j_return_value", "def getbaraidxij(self,idx_): # 3\n res,resargs = self....
[ "0.8396391", "0.71261173", "0.70907575", "0.67884517", "0.6727334", "0.6509022", "0.6382574", "0.62180233", "0.61967444", "0.6188288", "0.6149179", "0.61295444", "0.6103931", "0.6080982", "0.6072824", "0.60486424", "0.6047505", "0.6035643", "0.6004207", "0.5998882", "0.594949...
0.81668854
1
Obtains information about an element in barc. getbarcidx(self,idx_,sub_,weights_)
def getbarcidx(self,idx_,sub_,weights_): maxnum_ = self.getbarcidxinfo((idx_)) j_ = ctypes.c_int32() num_ = ctypes.c_int64() _sub_minlength = (maxnum_) if (maxnum_) > 0 and sub_ is not None and len(sub_) != (maxnum_): raise ValueError("Array argument sub is not long enough: Is %d, expected %d"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarcidx(self,idx_,sub,weights): # 3\n maxnum_ = self.getbarcidxinfo((idx_))\n if sub is None: raise TypeError(\"Invalid type for argument sub\")\n _copyback_sub = False\n if sub is None:\n sub_ = None\n else:\n try:\n sub_ = memoryview(sub)\n except Typ...
[ "0.81144726", "0.72846395", "0.7217906", "0.665363", "0.6640706", "0.6635058", "0.65106195", "0.63355154", "0.5838797", "0.5818682", "0.5737795", "0.5736788", "0.55965847", "0.553447", "0.5459193", "0.5442391", "0.5383529", "0.5376213", "0.5336467", "0.5267637", "0.5224516", ...
0.80855787
1
Obtains the number of terms in the weighted sum that form a particular element in barA. getbaraidxinfo(self,idx_)
def getbaraidxinfo(self,idx_): num_ = ctypes.c_int64() res = __library__.MSK_XX_getbaraidxinfo(self.__nativep,idx_,ctypes.byref(num_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) num_ = num_.value _num_return_value = num_ return (_num_return_value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbaraidxinfo(self,idx_): # 3\n res,resargs = self.__obj.getbaraidxinfo(idx_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _num_return_value = resargs\n return _num_return_value", "def getbarcidxinfo(self,idx_): # 3\n res,res...
[ "0.7756773", "0.6507387", "0.64196265", "0.6186367", "0.6128352", "0.5972996", "0.5923507", "0.59121716", "0.5646623", "0.5492446", "0.5417949", "0.5402761", "0.53898597", "0.53793544", "0.5307793", "0.5303424", "0.5293265", "0.5285976", "0.5244835", "0.523641", "0.5207586", ...
0.7473943
1
Obtains information about an element in barA. getbaraidxij(self,idx_)
def getbaraidxij(self,idx_): i_ = ctypes.c_int32() j_ = ctypes.c_int32() res = __library__.MSK_XX_getbaraidxij(self.__nativep,idx_,ctypes.byref(i_),ctypes.byref(j_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) i_ = i_.value _i_return_value = i_ j_ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbaraidxij(self,idx_): # 3\n res,resargs = self.__obj.getbaraidxij(idx_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _i_return_value,_j_return_value = resargs\n return _i_return_value,_j_return_value", "def getbaraidxinfo(self,i...
[ "0.8346773", "0.77193934", "0.754142", "0.67876697", "0.6486184", "0.64195204", "0.6404053", "0.640032", "0.6305876", "0.59074754", "0.5890297", "0.58680964", "0.58324194", "0.5825518", "0.5760624", "0.5729917", "0.565855", "0.56582534", "0.56447303", "0.5631596", "0.55810976...
0.7791537
1
Obtains information about an element in barA. getbaraidx(self,idx_,sub_,weights_)
def getbaraidx(self,idx_,sub_,weights_): maxnum_ = self.getbaraidxinfo((idx_)) i_ = ctypes.c_int32() j_ = ctypes.c_int32() num_ = ctypes.c_int64() _sub_minlength = (maxnum_) if (maxnum_) > 0 and sub_ is not None and len(sub_) != (maxnum_): raise ValueError("Array argument sub is not long e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbaraidx(self,idx_,sub,weights): # 3\n maxnum_ = self.getbaraidxinfo((idx_))\n if sub is None: raise TypeError(\"Invalid type for argument sub\")\n _copyback_sub = False\n if sub is None:\n sub_ = None\n else:\n try:\n sub_ = memoryview(sub)\n except Typ...
[ "0.79349804", "0.7220432", "0.6909607", "0.68911463", "0.66678464", "0.66436964", "0.63469344", "0.59986603", "0.59368634", "0.5867839", "0.57814175", "0.56003904", "0.5393162", "0.5353795", "0.53340846", "0.5328281", "0.5303927", "0.53004795", "0.52901924", "0.5209837", "0.5...
0.7813326
1
Obtains an upper bound on the number of elements in the block triplet form of barc. getnumbarcblocktriplets(self)
def getnumbarcblocktriplets(self): num_ = ctypes.c_int64() res = __library__.MSK_XX_getnumbarcblocktriplets(self.__nativep,ctypes.byref(num_)) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg) num_ = num_.value _num_return_value = num_ return (_num_return_va...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getnumbarcblocktriplets(self): # 3\n res,resargs = self.__obj.getnumbarcblocktriplets()\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)\n _num_return_value = resargs\n return _num_return_value", "def getnumbarablocktriplets(self): # 3\n...
[ "0.85420984", "0.75696456", "0.7015618", "0.6847383", "0.6627744", "0.64907646", "0.6451518", "0.64438766", "0.6355343", "0.63185966", "0.62884474", "0.62712073", "0.62185615", "0.61999696", "0.61999696", "0.61999696", "0.61999696", "0.61817807", "0.61790687", "0.61690867", "...
0.7878391
1
Inputs barC in block triplet form. putbarcblocktriplet(self,num_,subj_,subk_,subl_,valjkl_)
def putbarcblocktriplet(self,num_,subj_,subk_,subl_,valjkl_): _subj_minlength = (num_) if (num_) > 0 and subj_ is not None and len(subj_) != (num_): raise ValueError("Array argument subj is not long enough: Is %d, expected %d" % (len(subj_),(num_))) if subj_ is None: raise ValueError("Argument s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putbarcblocktriplet(self,num_,subj,subk,subl,valjkl): # 3\n if subj is None: raise TypeError(\"Invalid type for argument subj\")\n if subj is None:\n subj_ = None\n else:\n try:\n subj_ = memoryview(subj)\n except TypeError:\n try:\n _tmparr_subj...
[ "0.7797572", "0.7431309", "0.7382793", "0.67077404", "0.6499392", "0.6443641", "0.6285413", "0.55697286", "0.5277591", "0.49592826", "0.49534807", "0.48163047", "0.48131326", "0.4768959", "0.47384974", "0.47332403", "0.47224998", "0.4697508", "0.46888828", "0.46643606", "0.46...
0.78210664
0
Obtains barC in block triplet form. getbarcblocktriplet(self,subj_,subk_,subl_,valjkl_)
def getbarcblocktriplet(self,subj_,subk_,subl_,valjkl_): maxnum_ = self.getnumbarcblocktriplets() num_ = ctypes.c_int64() _subj_minlength = (maxnum_) if (maxnum_) > 0 and subj_ is not None and len(subj_) != (maxnum_): raise ValueError("Array argument subj is not long enough: Is %d, expected %d" % ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarcblocktriplet(self,subj,subk,subl,valjkl): # 3\n maxnum_ = self.getnumbarcblocktriplets()\n if subj is None: raise TypeError(\"Invalid type for argument subj\")\n _copyback_subj = False\n if subj is None:\n subj_ = None\n else:\n try:\n subj_ = memoryview(s...
[ "0.8242245", "0.73333", "0.71987563", "0.6874446", "0.6724419", "0.57594484", "0.55948", "0.52580005", "0.51605344", "0.5067685", "0.5061451", "0.5032754", "0.50226194", "0.49841416", "0.49765313", "0.4926271", "0.49114424", "0.4871388", "0.48678747", "0.48249632", "0.4824963...
0.8230452
1
Obtains barA in block triplet form. getbarablocktriplet(self,subi_,subj_,subk_,subl_,valijkl_)
def getbarablocktriplet(self,subi_,subj_,subk_,subl_,valijkl_): maxnum_ = self.getnumbarablocktriplets() num_ = ctypes.c_int64() _subi_minlength = (maxnum_) if (maxnum_) > 0 and subi_ is not None and len(subi_) != (maxnum_): raise ValueError("Array argument subi is not long enough: Is %d, expected...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getbarablocktriplet(self,subi,subj,subk,subl,valijkl): # 3\n maxnum_ = self.getnumbarablocktriplets()\n if subi is None: raise TypeError(\"Invalid type for argument subi\")\n _copyback_subi = False\n if subi is None:\n subi_ = None\n else:\n try:\n subi_ = memory...
[ "0.80541843", "0.7718639", "0.7490929", "0.70500946", "0.69929564", "0.692479", "0.68191475", "0.5320601", "0.5103941", "0.5083685", "0.505206", "0.5037894", "0.49752373", "0.49659145", "0.49474913", "0.48905304", "0.48676184", "0.4846214", "0.48412463", "0.4812279", "0.47859...
0.7856036
1
Changes the bound for one constraint. putconbound(self,i_,bkc_,blc_,buc_)
def putconbound(self,i_,bkc_,blc_,buc_): res = __library__.MSK_XX_putconbound(self.__nativep,i_,bkc_,blc_,buc_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putconbound(self,i_,bk_,bl_,bu_): # 3\n if not isinstance(bk_,boundkey): raise TypeError(\"Argument bk has wrong type\")\n res = self.__obj.putconbound(i_,bk_,bl_,bu_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putbound(self,accm...
[ "0.8431577", "0.74671066", "0.7019133", "0.69383395", "0.67582726", "0.6713032", "0.6695471", "0.6479412", "0.6461108", "0.6328686", "0.62583214", "0.62065446", "0.6160253", "0.607104", "0.60688263", "0.6038663", "0.6010842", "0.5968073", "0.59461397", "0.59395623", "0.587561...
0.8324798
1
Changes the bounds of a list of constraints. putconboundlist(self,sub_,bkc_,blc_,buc_)
def putconboundlist(self,sub_,bkc_,blc_,buc_): num_ = None if num_ is None: num_ = len(sub_) elif num_ != len(sub_): raise IndexError("Inconsistent length of array sub") if num_ is None: num_ = len(bkc_) elif num_ != len(bkc_): raise IndexError("Inconsistent length of array b...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putconboundlistconst(self,sub_,bkc_,blc_,buc_):\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 if sub_ is None:\n raise ValueError(\"Argument sub cannot be None\")\n if sub_ is None:\n r...
[ "0.84011555", "0.76973206", "0.73664284", "0.71282125", "0.6763163", "0.65985745", "0.65650123", "0.65250516", "0.6457567", "0.6309675", "0.6039203", "0.59684473", "0.59512186", "0.582025", "0.5767994", "0.5653089", "0.56379414", "0.5575884", "0.55110615", "0.54968846", "0.54...
0.80374026
1
Changes the bounds of a list of constraints. putconboundlistconst(self,sub_,bkc_,blc_,buc_)
def putconboundlistconst(self,sub_,bkc_,blc_,buc_): 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("A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putconboundlist(self,sub_,bkc_,blc_,buc_):\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 if num_ is None:\n num_ = len(bkc_)\n elif num_ != len(bkc_):\n raise IndexError(\"Inconsistent ...
[ "0.78857696", "0.78076875", "0.7175673", "0.7004306", "0.67201793", "0.6420127", "0.6372808", "0.63401717", "0.623137", "0.620073", "0.60859454", "0.59860647", "0.58440953", "0.58174753", "0.5684682", "0.56770265", "0.56493884", "0.56027967", "0.5551834", "0.551165", "0.55048...
0.870948
0
Changes the bounds for a slice of the constraints. putconboundslice(self,first_,last_,bkc_,blc_,buc_)
def putconboundslice(self,first_,last_,bkc_,blc_,buc_): _bkc_minlength = ((last_) - (first_)) if ((last_) - (first_)) > 0 and bkc_ is not None and len(bkc_) != ((last_) - (first_)): raise ValueError("Array argument bkc is not long enough: Is %d, expected %d" % (len(bkc_),((last_) - (first_)))) if bkc_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putconboundsliceconst(self,first_,last_,bkc_,blc_,buc_):\n res = __library__.MSK_XX_putconboundsliceconst(self.__nativep,first_,last_,bkc_,blc_,buc_)\n if res != 0:\n _,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putconboundslice(self,first_,last_,bk,bl,bu): # 3\n ...
[ "0.8424689", "0.7909946", "0.77987653", "0.7661096", "0.7383701", "0.72629064", "0.71362746", "0.69376904", "0.6732253", "0.6692375", "0.6643416", "0.6629445", "0.655081", "0.652846", "0.64281434", "0.6054415", "0.6003487", "0.58678806", "0.5852181", "0.5829782", "0.582154", ...
0.79280216
1
Changes the bounds for a slice of the constraints. putconboundsliceconst(self,first_,last_,bkc_,blc_,buc_)
def putconboundsliceconst(self,first_,last_,bkc_,blc_,buc_): res = __library__.MSK_XX_putconboundsliceconst(self.__nativep,first_,last_,bkc_,blc_,buc_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putvarboundsliceconst(self,first_,last_,bkx_,blx_,bux_):\n res = __library__.MSK_XX_putvarboundsliceconst(self.__nativep,first_,last_,bkx_,blx_,bux_)\n if res != 0:\n _,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def putconboundslice(self,first_,last_,bkc_,blc_,buc_):\n ...
[ "0.7940694", "0.7843107", "0.7633073", "0.7385376", "0.7198701", "0.7138386", "0.7068631", "0.6802846", "0.6657966", "0.6564169", "0.65478146", "0.65182567", "0.64068395", "0.63733363", "0.62952274", "0.61070985", "0.60120577", "0.58785725", "0.58716613", "0.578715", "0.57703...
0.88294995
0
Changes the bounds for one variable. putvarbound(self,j_,bkx_,blx_,bux_)
def putvarbound(self,j_,bkx_,blx_,bux_): res = __library__.MSK_XX_putvarbound(self.__nativep,j_,bkx_,blx_,bux_) if res != 0: _,msg = self.__getlasterror(res) raise Error(rescode(res),msg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def putvarbound(self,j_,bk_,bl_,bu_): # 3\n if not isinstance(bk_,boundkey): raise TypeError(\"Argument bk has wrong type\")\n res = self.__obj.putvarbound(j_,bk_,bl_,bu_)\n if res != 0:\n result,msg = self.__getlasterror(res)\n raise Error(rescode(res),msg)", "def chgvarbound(self,j...
[ "0.83352685", "0.77197856", "0.7631901", "0.69681317", "0.6884526", "0.660315", "0.65222496", "0.6383775", "0.63717395", "0.62624204", "0.62609136", "0.62328184", "0.6203693", "0.6166688", "0.6145063", "0.5939188", "0.5806258", "0.57605875", "0.57412565", "0.5724231", "0.5684...
0.87297875
0