[SCIP] CPLEX 12.7 and SCIP compile error
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Nov 28 18:53:34 CET 2016
Hi,
you can just replace the lines
retval = CPXgetrngval(lpi->cpxenv, lpi->cpxlp, lpi->rngarray,
firstrow, lastrow);
if( retval != CPXERR_NO_RNGVAL ) /* ignore "No range values" error */
{
CHECK_ZERO( lpi->messagehdlr, retval );
}
else
BMSclearMemoryArray(lpi->rngarray, lastrow-firstrow+1);
by
CHECK_ZERO( lpi->messagehdlr, CPXgetrngval(lpi->cpxenv, lpi->cpxlp,
lpi->rngarray, firstrow, lastrow) );
Stefan
On 11/27/2016 05:46 PM, M. Farham wrote:
> Hi
> With CPLEX v12.7, I get the following error in 'make LPS=cpx ZIMPL=false'.
>
> -> compiling obj/O.linux.x86_64.gnu.opt/lib/lpi/lpi_cpx.o
> src/lpi/lpi_cpx.c: In function ‘SCIPlpiGetRows’:
> src/lpi/lpi_cpx.c:1856:22: error: ‘CPXERR_NO_RNGVAL’ undeclared (first use
> in this function)
> if( retcode != CPXERR_NO_RNGVAL ) /* ignore "No range values" error
> */
> Makefile:989: recipe for target
> 'obj/O.linux.x86_64.gnu.opt/lib/lpi/lpi_cpx.o' failed
>
> According to the release notes for CPLEX 12.7.0 (
> https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/
> ilog.odms.cplex.help/CPLEX/ReleaseNotes/topics/releasenotes127/removed.html
> ), they have removed some of the CPLEX elements including CPXERR_NO_RNGVAL
> error code.
>
> Regards,
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>
--
http://www.gams.com/~stefan
More information about the Scip
mailing list