#11958 closed defect (fixed)
cplex needs another symbolic link
Reported by: | jason | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-5.0 |
Component: | linear programming | Keywords: | Cernay2012 |
Cc: | ncohen | Merged in: | sage-5.0.beta12 |
Authors: | Nathann Cohen, Jason Grout | Reviewers: | David Coudert |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
In order to get a current CPLEX to work with Sage, I had to add one more symbolic link to SAGE_ROOT/local/include/
than the directions at http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html#installing-cplex indicated:
ln -s /path/to/include/cpxconst.h .
Without this, sage -b
complained about that file missing. With this new symbolic link, sage -b
succeeds and I can solve an example problem with cplex.
So the docs probably should be updated.
Attachments (1)
Change History (12)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
IBM ILOG CPLEX Optimization Studio Academic Research Edition Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer 12.3.0.0 with Simplex, Mixed Integer & Barrier Optimizers 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 Copyright IBM Corp. 1988, 2011. All Rights Reserved.
comment:3 Changed 8 years ago by
Sigh... I'm using version 12.1.0 :-)
Nathann
Changed 7 years ago by
comment:5 Changed 7 years ago by
- Component changed from PLEASE CHANGE to linear programming
- Milestone set to sage-5.0
- Status changed from new to needs_review
Here it is ! Sorry for the delay ! :-)
Nathann
comment:6 Changed 7 years ago by
- Keywords Cernay2012 added
comment:7 Changed 7 years ago by
- Reviewers set to David Coudert
- Status changed from needs_review to positive_review
Hello,
I'm able to install correctly the patch on sage-5.0.beta9, and it is very useful when you want to use cplex 12.4.
It took me some time to understand that I add to type sage -docbuild thematic_tutorials html
for building the doc.
Thanks for the patch!
David.
comment:8 Changed 7 years ago by
comment:9 Changed 7 years ago by
- Merged in set to sage-5.0.beta12
- Resolution set to fixed
- Status changed from positive_review to closed
comment:10 follow-up: ↓ 11 Changed 7 years ago by
I hope it's not too selfish to add myself as an author, as it did take a (short) while to track down the problem and solution...
comment:11 in reply to: ↑ 10 Changed 7 years ago by
I hope it's not too selfish to add myself as an author, as it did take a (short) while to track down the problem and solution...
Ahahah, be welcome in the "authors" field, there's room for everybody here so let us have a drink :-)
Anyway there clearly was more work involved in finding the bug than in writing this patch !
Nathann
O_o
I have been using CPLEX for (almost) years and I never met that.
O_o
Which kind of version of it do you use ?
O_o
Nathann