#19037: Cplex backend: allow to set logfile
-------------------------------------+-------------------------------------
Reporter: dcoudert | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.9
Component: linear | Resolution:
programming | Merged in:
Keywords: | Reviewers:
Authors: David Coudert | Work issues:
Report Upstream: N/A | Commit:
Branch: public/19037 | 44ad5fd2aab60f042f504eb1424ea32844beb2be
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
> The proposed implementation might certainly be improved.
Mostly up to you. The only way I see to see things differently is this:
given that this is not a 'solver parameter' in the same sense than others,
it could be worth creating an individual function to do that -- as it
exposes a specific CPLEX API function.
Either way it must appear in the documentation somewhere.
> Also, I'm not sure that the `CPXsetlogfile` method returns something
else than 0, which means successful according the documentation
http://www-01.ibm.com/support/knowledgecenter/SSSA5P_12.6.2/ilog.odms.cplex.help/refcallablelibrary/cpxapi/setlogfile.html?cp=SSSA5P_12.6.2%2F2-8-1-256.
I did some unsuccessful trials...
They say in the doc that it returns an 'error code' when somethings goes
wrong. You should probably call the 'check' function defined in the cplex
backend file, just in case. It is done almost everywhere in the file.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/19037#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.