|
|
|
|
@@ -44,78 +44,175 @@ bool GurobiIsCorrectlyInstalled() {
|
|
|
|
|
// See the comment at the top of the script.
|
|
|
|
|
|
|
|
|
|
// This is the 'define' section.
|
|
|
|
|
std::function<int(GRBenv**, const char*, const char*, const char*, int, const char*)> GRBisqp = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname)> GRBisattravailable = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname, int *valueP)> GRBgetintattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname, int newvalue)> GRBsetintattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int element, int *valueP)> GRBgetintattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int element, int newvalue)> GRBsetintattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int first, int len, int *values)> GRBgetintattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int first, int len, int *newvalues)> GRBsetintattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int len, int *ind, int *newvalues)> GRBsetintattrlist = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int element, char *valueP)> GRBgetcharattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int element, char newvalue)> GRBsetcharattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int first, int len, char *values)> GRBgetcharattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int first, int len, char *newvalues)> GRBsetcharattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int len, int *ind, char *newvalues)> GRBsetcharattrlist = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname, double *valueP)> GRBgetdblattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname, double newvalue)> GRBsetdblattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int element, double *valueP)> GRBgetdblattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int element, double newvalue)> GRBsetdblattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int first, int len, double *values)> GRBgetdblattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int first, int len, double *newvalues)> GRBsetdblattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname,int len, int *ind, double *newvalues)> GRBsetdblattrlist = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname, char **valueP)> GRBgetstrattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *attrname, const char *newvalue)> GRBsetstrattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model,int (GUROBI_STDCALL *cb)(CB_ARGS),void *usrdata)> GRBsetcallbackfunc = nullptr;
|
|
|
|
|
std::function<int(void *cbdata, int where, int what, void *resultP)> GRBcbget = nullptr;
|
|
|
|
|
std::function<int(void *cbdata, const double *solution, double *objvalP)> GRBcbsolution = nullptr;
|
|
|
|
|
std::function<int(void *cbdata, int cutlen, const int *cutind, const double *cutval,char cutsense, double cutrhs)> GRBcbcut = nullptr;
|
|
|
|
|
std::function<int(void *cbdata, int lazylen, const int *lazyind,const double *lazyval, char lazysense, double lazyrhs)> GRBcblazy = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int *numnzP, int *vbeg, int *vind,double *vval, int start, int len)> GRBgetvars = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model)> GRBoptimize = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *filename)> GRBwrite = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, GRBmodel **modelP, const char *Pname, int numvars,double *obj, double *lb, double *ub, char *vtype,char **varnames)> GRBnewmodel = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numnz, int *vind, double *vval,double obj, double lb, double ub, char vtype,const char *varname)> GRBaddvar = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numvars, int numnz,int *vbeg, int *vind, double *vval,double *obj, double *lb, double *ub, char *vtype,char **varnames)> GRBaddvars = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numnz, int *cind, double *cval,char sense, double rhs, const char *constrname)> GRBaddconstr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numconstrs, int numnz,int *cbeg, int *cind, double *cval,char *sense, double *rhs, char **constrnames)> GRBaddconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numnz, int *cind, double *cval,double lower, double upper, const char *constrname)> GRBaddrangeconstr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numsos, int nummembers, int *types,int *beg, int *ind, double *weight)> GRBaddsos = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *name,int resvar, int nvars, const int *vars,double constant)> GRBaddgenconstrMax = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *name,int resvar, int nvars, const int *vars,double constant)> GRBaddgenconstrMin = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *name,int resvar, int argvar)> GRBaddgenconstrAbs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *name,int resvar, int nvars, const int *vars)> GRBaddgenconstrAnd = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *name,int resvar, int nvars, const int *vars)> GRBaddgenconstrOr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, const char *name,int binvar, int binval, int nvars, const int *vars,const double *vals, char sense, double rhs)> GRBaddgenconstrIndicator = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numlnz, int *lind, double *lval,int numqnz, int *qrow, int *qcol, double *qval,char sense, double rhs, const char *QCname)> GRBaddqconstr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int numqnz, int *qrow, int *qcol,double *qval)> GRBaddqpterms = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int len, int *ind)> GRBdelvars = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int len, int *ind)> GRBdelconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int len, int *ind)> GRBdelsos = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int len, int *ind)> GRBdelgenconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int len, int *ind)> GRBdelqconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model)> GRBdelq = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int cnt, int *cind, int *vind, double *val)> GRBchgcoeffs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model)> GRBupdatemodel = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model)> GRBfreemodel = nullptr;
|
|
|
|
|
std::function<void(GRBmodel *model)> GRBterminate = nullptr;
|
|
|
|
|
std::function<int(GRBmodel *model, int index, int priority, double weight,double abstol, double reltol, const char *name,double constant, int lnz, int *lind, double *lval)> GRBsetobjectiven = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, int *valueP)> GRBgetintparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, double *valueP)> GRBgetdblparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, char *valueP)> GRBgetstrparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, const char *value)> GRBsetparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, int value)> GRBsetintparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, double value)> GRBsetdblparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env, const char *paramname, const char *value)> GRBsetstrparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv *env)> GRBresetparams = nullptr;
|
|
|
|
|
std::function<int(GRBenv *dest, GRBenv *src)> GRBcopyparams = nullptr;
|
|
|
|
|
std::function<int(GRBenv **envP, const char *logfilename)> GRBloadenv = nullptr;
|
|
|
|
|
std::function<GRBenv *(GRBmodel *model)> GRBgetenv = nullptr;
|
|
|
|
|
std::function<void(GRBenv *env)> GRBfreeenv = nullptr;
|
|
|
|
|
std::function<const char *(GRBenv *env)> GRBgeterrormsg = nullptr;
|
|
|
|
|
std::function<void(int *majorP, int *minorP, int *technicalP)> GRBversion = nullptr;
|
|
|
|
|
std::function<char *(void)> GRBplatform = nullptr;
|
|
|
|
|
std::function<int(GRBenv**, const char*, const char*, const char*, int,
|
|
|
|
|
const char*)>
|
|
|
|
|
GRBisqp = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname)> GRBisattravailable =
|
|
|
|
|
nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int* valueP)>
|
|
|
|
|
GRBgetintattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int newvalue)>
|
|
|
|
|
GRBsetintattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int element,
|
|
|
|
|
int* valueP)>
|
|
|
|
|
GRBgetintattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int element,
|
|
|
|
|
int newvalue)>
|
|
|
|
|
GRBsetintattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int first, int len,
|
|
|
|
|
int* values)>
|
|
|
|
|
GRBgetintattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int first, int len,
|
|
|
|
|
int* newvalues)>
|
|
|
|
|
GRBsetintattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int len, int* ind,
|
|
|
|
|
int* newvalues)>
|
|
|
|
|
GRBsetintattrlist = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int element,
|
|
|
|
|
char* valueP)>
|
|
|
|
|
GRBgetcharattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int element,
|
|
|
|
|
char newvalue)>
|
|
|
|
|
GRBsetcharattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int first, int len,
|
|
|
|
|
char* values)>
|
|
|
|
|
GRBgetcharattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int first, int len,
|
|
|
|
|
char* newvalues)>
|
|
|
|
|
GRBsetcharattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int len, int* ind,
|
|
|
|
|
char* newvalues)>
|
|
|
|
|
GRBsetcharattrlist = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, double* valueP)>
|
|
|
|
|
GRBgetdblattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, double newvalue)>
|
|
|
|
|
GRBsetdblattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int element,
|
|
|
|
|
double* valueP)>
|
|
|
|
|
GRBgetdblattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int element,
|
|
|
|
|
double newvalue)>
|
|
|
|
|
GRBsetdblattrelement = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int first, int len,
|
|
|
|
|
double* values)>
|
|
|
|
|
GRBgetdblattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int first, int len,
|
|
|
|
|
double* newvalues)>
|
|
|
|
|
GRBsetdblattrarray = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, int len, int* ind,
|
|
|
|
|
double* newvalues)>
|
|
|
|
|
GRBsetdblattrlist = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, char** valueP)>
|
|
|
|
|
GRBgetstrattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* attrname, const char* newvalue)>
|
|
|
|
|
GRBsetstrattr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int(GUROBI_STDCALL* cb)(CB_ARGS),
|
|
|
|
|
void* usrdata)>
|
|
|
|
|
GRBsetcallbackfunc = nullptr;
|
|
|
|
|
std::function<int(void* cbdata, int where, int what, void* resultP)> GRBcbget =
|
|
|
|
|
nullptr;
|
|
|
|
|
std::function<int(void* cbdata, const double* solution, double* objvalP)>
|
|
|
|
|
GRBcbsolution = nullptr;
|
|
|
|
|
std::function<int(void* cbdata, int cutlen, const int* cutind,
|
|
|
|
|
const double* cutval, char cutsense, double cutrhs)>
|
|
|
|
|
GRBcbcut = nullptr;
|
|
|
|
|
std::function<int(void* cbdata, int lazylen, const int* lazyind,
|
|
|
|
|
const double* lazyval, char lazysense, double lazyrhs)>
|
|
|
|
|
GRBcblazy = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int* numnzP, int* vbeg, int* vind,
|
|
|
|
|
double* vval, int start, int len)>
|
|
|
|
|
GRBgetvars = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model)> GRBoptimize = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* filename)> GRBwrite = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, GRBmodel** modelP, const char* Pname,
|
|
|
|
|
int numvars, double* obj, double* lb, double* ub, char* vtype,
|
|
|
|
|
char** varnames)>
|
|
|
|
|
GRBnewmodel = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numnz, int* vind, double* vval,
|
|
|
|
|
double obj, double lb, double ub, char vtype,
|
|
|
|
|
const char* varname)>
|
|
|
|
|
GRBaddvar = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numvars, int numnz, int* vbeg, int* vind,
|
|
|
|
|
double* vval, double* obj, double* lb, double* ub,
|
|
|
|
|
char* vtype, char** varnames)>
|
|
|
|
|
GRBaddvars = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numnz, int* cind, double* cval,
|
|
|
|
|
char sense, double rhs, const char* constrname)>
|
|
|
|
|
GRBaddconstr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numconstrs, int numnz, int* cbeg,
|
|
|
|
|
int* cind, double* cval, char* sense, double* rhs,
|
|
|
|
|
char** constrnames)>
|
|
|
|
|
GRBaddconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numnz, int* cind, double* cval,
|
|
|
|
|
double lower, double upper, const char* constrname)>
|
|
|
|
|
GRBaddrangeconstr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numsos, int nummembers, int* types,
|
|
|
|
|
int* beg, int* ind, double* weight)>
|
|
|
|
|
GRBaddsos = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* name, int resvar, int nvars,
|
|
|
|
|
const int* vars, double constant)>
|
|
|
|
|
GRBaddgenconstrMax = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* name, int resvar, int nvars,
|
|
|
|
|
const int* vars, double constant)>
|
|
|
|
|
GRBaddgenconstrMin = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* name, int resvar, int argvar)>
|
|
|
|
|
GRBaddgenconstrAbs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* name, int resvar, int nvars,
|
|
|
|
|
const int* vars)>
|
|
|
|
|
GRBaddgenconstrAnd = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* name, int resvar, int nvars,
|
|
|
|
|
const int* vars)>
|
|
|
|
|
GRBaddgenconstrOr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, const char* name, int binvar, int binval,
|
|
|
|
|
int nvars, const int* vars, const double* vals, char sense,
|
|
|
|
|
double rhs)>
|
|
|
|
|
GRBaddgenconstrIndicator = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numlnz, int* lind, double* lval,
|
|
|
|
|
int numqnz, int* qrow, int* qcol, double* qval, char sense,
|
|
|
|
|
double rhs, const char* QCname)>
|
|
|
|
|
GRBaddqconstr = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int numqnz, int* qrow, int* qcol,
|
|
|
|
|
double* qval)>
|
|
|
|
|
GRBaddqpterms = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int len, int* ind)> GRBdelvars = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int len, int* ind)> GRBdelconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int len, int* ind)> GRBdelsos = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int len, int* ind)> GRBdelgenconstrs =
|
|
|
|
|
nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int len, int* ind)> GRBdelqconstrs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model)> GRBdelq = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int cnt, int* cind, int* vind, double* val)>
|
|
|
|
|
GRBchgcoeffs = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model)> GRBupdatemodel = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model)> GRBfreemodel = nullptr;
|
|
|
|
|
std::function<void(GRBmodel* model)> GRBterminate = nullptr;
|
|
|
|
|
std::function<int(GRBmodel* model, int index, int priority, double weight,
|
|
|
|
|
double abstol, double reltol, const char* name,
|
|
|
|
|
double constant, int lnz, int* lind, double* lval)>
|
|
|
|
|
GRBsetobjectiven = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, int* valueP)>
|
|
|
|
|
GRBgetintparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, double* valueP)>
|
|
|
|
|
GRBgetdblparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, char* valueP)>
|
|
|
|
|
GRBgetstrparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, const char* value)>
|
|
|
|
|
GRBsetparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, int value)>
|
|
|
|
|
GRBsetintparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, double value)>
|
|
|
|
|
GRBsetdblparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env, const char* paramname, const char* value)>
|
|
|
|
|
GRBsetstrparam = nullptr;
|
|
|
|
|
std::function<int(GRBenv* env)> GRBresetparams = nullptr;
|
|
|
|
|
std::function<int(GRBenv* dest, GRBenv* src)> GRBcopyparams = nullptr;
|
|
|
|
|
std::function<int(GRBenv** envP, const char* logfilename)> GRBloadenv = nullptr;
|
|
|
|
|
std::function<GRBenv*(GRBmodel* model)> GRBgetenv = nullptr;
|
|
|
|
|
std::function<void(GRBenv* env)> GRBfreeenv = nullptr;
|
|
|
|
|
std::function<const char*(GRBenv* env)> GRBgeterrormsg = nullptr;
|
|
|
|
|
std::function<void(int* majorP, int* minorP, int* technicalP)> GRBversion =
|
|
|
|
|
nullptr;
|
|
|
|
|
std::function<char*(void)> GRBplatform = nullptr;
|
|
|
|
|
|
|
|
|
|
void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) {
|
|
|
|
|
// This was generated with the parse_header.py script.
|
|
|
|
|
@@ -123,29 +220,44 @@ void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) {
|
|
|
|
|
|
|
|
|
|
// This is the 'assign' section.
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBisqp, "GRBisqp");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBisattravailable, "GRBisattravailable");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBisattravailable,
|
|
|
|
|
"GRBisattravailable");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetintattr, "GRBgetintattr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetintattr, "GRBsetintattr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetintattrelement, "GRBgetintattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetintattrelement, "GRBsetintattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetintattrarray, "GRBgetintattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetintattrarray, "GRBsetintattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetintattrelement,
|
|
|
|
|
"GRBgetintattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetintattrelement,
|
|
|
|
|
"GRBsetintattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetintattrarray,
|
|
|
|
|
"GRBgetintattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetintattrarray,
|
|
|
|
|
"GRBsetintattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetintattrlist, "GRBsetintattrlist");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetcharattrelement, "GRBgetcharattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcharattrelement, "GRBsetcharattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetcharattrarray, "GRBgetcharattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcharattrarray, "GRBsetcharattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcharattrlist, "GRBsetcharattrlist");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetcharattrelement,
|
|
|
|
|
"GRBgetcharattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcharattrelement,
|
|
|
|
|
"GRBsetcharattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetcharattrarray,
|
|
|
|
|
"GRBgetcharattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcharattrarray,
|
|
|
|
|
"GRBsetcharattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcharattrlist,
|
|
|
|
|
"GRBsetcharattrlist");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetdblattr, "GRBgetdblattr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetdblattr, "GRBsetdblattr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetdblattrelement, "GRBgetdblattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetdblattrelement, "GRBsetdblattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetdblattrarray, "GRBgetdblattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetdblattrarray, "GRBsetdblattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetdblattrelement,
|
|
|
|
|
"GRBgetdblattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetdblattrelement,
|
|
|
|
|
"GRBsetdblattrelement");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetdblattrarray,
|
|
|
|
|
"GRBgetdblattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetdblattrarray,
|
|
|
|
|
"GRBsetdblattrarray");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetdblattrlist, "GRBsetdblattrlist");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBgetstrattr, "GRBgetstrattr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetstrattr, "GRBsetstrattr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcallbackfunc, "GRBsetcallbackfunc");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBsetcallbackfunc,
|
|
|
|
|
"GRBsetcallbackfunc");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBcbget, "GRBcbget");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBcbsolution, "GRBcbsolution");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBcbcut, "GRBcbcut");
|
|
|
|
|
@@ -160,12 +272,17 @@ void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) {
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddconstrs, "GRBaddconstrs");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddrangeconstr, "GRBaddrangeconstr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddsos, "GRBaddsos");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrMax, "GRBaddgenconstrMax");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrMin, "GRBaddgenconstrMin");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrAbs, "GRBaddgenconstrAbs");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrAnd, "GRBaddgenconstrAnd");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrMax,
|
|
|
|
|
"GRBaddgenconstrMax");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrMin,
|
|
|
|
|
"GRBaddgenconstrMin");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrAbs,
|
|
|
|
|
"GRBaddgenconstrAbs");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrAnd,
|
|
|
|
|
"GRBaddgenconstrAnd");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrOr, "GRBaddgenconstrOr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrIndicator, "GRBaddgenconstrIndicator");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddgenconstrIndicator,
|
|
|
|
|
"GRBaddgenconstrIndicator");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddqconstr, "GRBaddqconstr");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBaddqpterms, "GRBaddqpterms");
|
|
|
|
|
gurobi_dynamic_library->GetFunction(&GRBdelvars, "GRBdelvars");
|
|
|
|
|
|