Skip to content

Commit

Permalink
Expose adaptors
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis committed Feb 27, 2023
1 parent d404664 commit 1a46454
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gurobi/include/gurobi.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ typedef struct _GRBenv GRBenv;
#define GRB_INT_ATTR_HASDUALNORM "HasDualNorm"

#define GUROBI_ADAPTOR

DLLSYMBOL int gurobi_adaptor_load(char* err_msg, unsigned int err_msg_len);
DLLSYMBOL void gurobi_adaptor_unload();

[gurobi_core.h]

Expand Down
3 changes: 3 additions & 0 deletions gurobi/include/gurobi_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ typedef struct _GRBenv GRBenv;
#define GRB_INT_ATTR_HASDUALNORM "HasDualNorm"

#define GUROBI_ADAPTOR

DLLSYMBOL int gurobi_adaptor_load(char* err_msg, unsigned int err_msg_len);
DLLSYMBOL void gurobi_adaptor_unload();

#define GRBaddconstr adaptor_GRBaddconstr
DLLSYMBOL int (__stdcall *GRBaddconstr)(GRBmodel *, int, int *, double *, char, double, const char *);
Expand Down

0 comments on commit 1a46454

Please sign in to comment.