Comments (7)
from mosek.jl.
Porting:The dgopt/scopt library will not be merged into the mosek shared library. It is perfectly possible to port the code to julia; there used to be a port for both Java and Python, and Julia is infinitely more suited for the task.
Licensing: If you port scopt/dgopt to Julia there will be no licensing or copyright issues of any kind, and the code can be distributed under the same license as the rest of Mosek.jl.
from mosek.jl.
By the way: The libmosekscopt library is not compatible with the scopt.h distributed with the examples. If you want to use it from Julia the relevant headers are included below. If you look in the Python interface (mosek/__init__.py
, around line 2015) you can see how it is used.
typedef
enum MSKscopre_enum
{
MSK_OPR_ENT = 0,
MSK_OPR_EXP = 1,
MSK_OPR_LOG = 2,
MSK_OPR_POW = 3
}
MSKscopre;
typedef struct
{
int numcon; /* Number of constraints. */
int numvar; /* Number of variables. */
int numopro;
MSKscopre *opro;
int *oprjo;
double *oprfo;
double *oprgo;
double *oprho;
int numoprc;
MSKscopre *oprc;
int *opric;
int *oprjc;
double *oprfc;
double *oprgc;
double *oprhc;
int *ptrc;
int *subc;
int *ibuf;
MSKint32t *zibuf;
double *zdbuf;
/* Log */
FILE * log;
/* Error data */
char msg[1024];
int res;
} nlhandt;
typedef void *schand_t;
typedef int (MSKAPI * MSK_scwritefunc) (void * handle, char * s);
typedef int (MSKAPI * MSK_screadfunc) (char * buffer, size_t len, void * handle);
MSKrescodee MSKAPI
MSK_scbegin(MSKtask_t task,
int numopro,
MSKscopre *opro,
int *oprjo,
double *oprfo,
double *oprgo,
double *oprho,
int numoprc,
MSKscopre *oprc,
int *opric,
int *oprjc,
double *oprfc,
double *oprgc,
double *oprhc,
schand_t *sch);
int MSKAPI MSK_scwrite(MSKtask_t task,
schand_t sch,
void * writehand,
MSK_scwritefunc writecb);
int MSKAPI MSK_scread(MSKtask_t task,
schand_t *sch,
void *handle,
MSK_screadfunc readcb);
int MSKAPI MSK_scend(MSKtask_t task,
schand_t sch);
MSKint32t MSKAPI
SCeval(MSKuserhandle_t nlhandle,
const MSKrealt *xx,
MSKrealt yo,
const MSKrealt *yc,
MSKrealt *objval,
MSKint32t *numgrdobjnz,
MSKint32t *grdobjsub,
MSKrealt *grdobjval,
MSKint32t numi,
const MSKint32t *subi,
MSKrealt *conval,
const MSKint32t *grdconptrb,
const MSKint32t *grdconptre,
const MSKint32t *grdconsub,
MSKrealt *grdconval,
MSKrealt *grdlag,
MSKint32t maxnumhesnz,
MSKint32t *numhesnz,
MSKint32t *hessubi,
MSKint32t *hessubj,
MSKrealt *hesval);
MSKint32t MSKAPI
SCstruc(MSKuserhandle_t nlhandle,
MSKint32t *numgrdobjnz,
MSKint32t *grdobjsub,
MSKint32t i,
MSKint32t *convali,
MSKint32t *grdconinz,
MSKint32t *grdconisub,
MSKint32t yo,
MSKint32t numycnz,
MSKCONST MSKint32t *ycsub,
MSKint32t maxnumhesnz,
MSKint32t *numhesnz,
MSKint32t *hessubi,
MSKint32t *hessubj);
MSKint32t MSKAPI
MSK_scattach(MSKtask_t task,
MSKuserhandle_t nlhandle);
MSKint32t MSKAPI
MSK_scdetach(MSKtask_t task);
from mosek.jl.
Thanks, @ulfworsoe!
from mosek.jl.
Is anyone working on this? If not, I don't mind giving it a shot
from mosek.jl.
Give it a go!
from mosek.jl.
Closing ancient issues.
from mosek.jl.
Related Issues (20)
- MOSEK with GitHub action? HOT 6
- support for Mosek version 9.3 HOT 4
- TagBot trigger issue HOT 40
- dear author,i am in trouble with following problem? Could you give me some instructions? HOT 2
- Bug in putbaraijlist HOT 2
- MOI.OPTIMAL status but infeasible solution HOT 7
- Issue precompiling Mosek v1.2.2 HOT 3
- Addition of 1 to float values HOT 1
- Platform not supported HOT 1
- Platform not supported HOT 1
- Mosek autodownload broken on 1.8rc1? HOT 5
- `getlasterrormsg` missing HOT 1
- Is there coordinated release plans for Mosek.jl/MosekTools.jl to support Mosek 10?
- getaccgvector returns zero vector HOT 4
- Segfault with starting values HOT 4
- Can't build on Windows "no method matching hasregistrykey" HOT 3
- Install Mosek v10.0.2 failed
- Failing to Install Mosek HOT 1
- TagBot issue HOT 1
- v10.1.2: Incremental compilation may be fatally broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mosek.jl.