[SCIP] Problem in nlpi_ipopt.cpp

See Chuen Teck see_chuenteck at yahoo.com.sg
Mon Apr 18 13:22:11 CEST 2016


Dear scip,

Spotted a possible problem in nlpi_ipopt.cpp. The below is an extract of 
nlpi_ipopt.cpp. Notice that SCIPsolveLinearProb3() & 
SCIPsolveLinearProb() does not exist when F77_FUNC is defined. Perhaps 
both function should be out of #ifndef F77_FUNC - #else - #endif. They 
are ok in nlpi_dummy.cpp

--------------

#ifndef F77_FUNC
#include "IpLapack.hpp"

SCIP_RETCODE LapackDsyev()
static SCIP_RETCODE SCIPsolveLinearProb3()
SCIP_RETCODE SCIPsolveLinearProb()

#else

extern "C" {
    /** LAPACK Fortran subroutine DSYEV */
    void F77_FUNC(dsyev,DSYEV)()
}

SCIP_RETCODE LapackDsyev( )
#endif


More information about the Scip mailing list