Loading...
Searching...
No Matches
spxdefines.h File Reference Debugging, floating point type and parameter definitions. More... #include <cmath> #include <assert.h> #include <stdarg.h> #include <stdio.h> #include <iostream> #include <cstdlib> #include <memory> #include "soplex/config.h" #include "spxdefines.hpp" Go to the source code of this file.
Detailed DescriptionDebugging, floating point type and parameter definitions. In optimized code with If Definition in file spxdefines.h. Macro Definition Documentation◆ SOPLEX_APIVERSION
Definition at line 96 of file spxdefines.h. ◆ SOPLEX_ASSERT_WARN
Value:
( assert( expr ) )
Macro to turn some assertions into warnings. If both
Definition at line 126 of file spxdefines.h. ◆ SOPLEX_COPYRIGHT
Definition at line 97 of file spxdefines.h. Referenced by runSoPlex(). ◆ SOPLEX_DEFAULT_BND_VIOL
default allowed bound violation Definition at line 277 of file spxdefines.h. ◆ SOPLEX_DEFAULT_EPS_FACTOR
Definition at line 284 of file spxdefines.h. ◆ SOPLEX_DEFAULT_EPS_PIVOR
Definition at line 290 of file spxdefines.h. ◆ SOPLEX_DEFAULT_EPS_UPDATE
Definition at line 287 of file spxdefines.h. ◆ SOPLEX_DEFAULT_EPS_ZERO
default allowed additive zero: 1.0 + EPS_ZERO == 1.0 Definition at line 281 of file spxdefines.h. Referenced by Tolerances::setEpsilon(). ◆ SOPLEX_DEFAULT_INFINITY
Definition at line 292 of file spxdefines.h. ◆ SOPLEX_DO_WITH_ERR_VERBOSITY
Value:
{ do_something; }
Definition at line 159 of file spxdefines.h. ◆ SOPLEX_DO_WITH_TMP_VERBOSITY
Value:
{ \
if( &spxout != nullptr ) \
{ \
if( verbosity <= spxout.getVerbosity() ) \
{ \
const SPxOut::Verbosity old_verbosity = spxout.getVerbosity(); \
spxout.setVerbosity( verbosity ); \
do_something; \
spxout.setVerbosity( old_verbosity ); \
} \
} \
}
Prints/Executes Definition at line 146 of file spxdefines.h. ◆ SOPLEX_MAX
Value:
((x)>(y) ? (x) : (y))
Definition at line 297 of file spxdefines.h. Referenced by SPxSolverBase< R >::delta(), StableSum< double >::operator double(), Random::setSeed(), SPxSolverBase< R >::shiftLBbound(), SPxSolverBase< R >::shiftLCbound(), SPxSolverBase< R >::shiftLPbound(), SPxSolverBase< R >::shiftUBbound(), SPxSolverBase< R >::shiftUCbound(), and SPxSolverBase< R >::shiftUPbound(). ◆ SOPLEX_MIN
Value:
((x)<(y) ? (x) : (y))
Definition at line 298 of file spxdefines.h. ◆ SOPLEX_REAL
Value:
x
Definition at line 272 of file spxdefines.h. ◆ SOPLEX_REAL_FORMAT
Definition at line 273 of file spxdefines.h. ◆ SOPLEX_SUBVERSION
Definition at line 95 of file spxdefines.h. Referenced by SPxSolverBase< R >::subversion(). ◆ SOPLEX_THREADLOCAL
SOPLEX_DEBUG. Definition at line 196 of file spxdefines.h. ◆ SOPLEX_VERSION
Definition at line 94 of file spxdefines.h. Referenced by SPxSolverBase< R >::version(). ◆ SPX_DEBUG
Definition at line 183 of file spxdefines.h. ◆ SPX_MAXSTRLEN
maximum string length in SoPlex Definition at line 300 of file spxdefines.h. Referenced by NameSet::add(), and NameSet::memPack(). ◆ SPX_MSG_DEBUG
Definition at line 182 of file spxdefines.h. ◆ SPX_MSG_ERROR
Value:
{ SOPLEX_DO_WITH_ERR_VERBOSITY( x ) }
#define SOPLEX_DO_WITH_ERR_VERBOSITY(do_something) Definition spxdefines.h:159 Prints out message Definition at line 163 of file spxdefines.h. Referenced by TimerFactory::createTimer(), soplex::dlcmSizeRational(), soplex::dmaxSizeRational(), MPSInput::entryIgnored(), SSVectorBase< R >::isConsistent(), main(), soplex::msginconsistent(), Rational::rationalErrorMessage(), runSoPlex(), LPRowBase< R >::setType(), LPRowSetBase< R >::setType(), soplex::sizeInBase(), soplex::spxSnprintf(), and MPSInput::syntaxError(). ◆ SPX_MSG_INCONSISTENT
Value:
msginconsistent(name, __FILE__, __LINE__)
Definition at line 175 of file spxdefines.h. Referenced by ClassArray< T >::isConsistent(), ClassSet< T >::isConsistent(), DataArray< T >::isConsistent(), DataHashTable< HashItem, Info >::isConsistent(), DataSet< DATA >::isConsistent(), DSVectorBase< R >::isConsistent(), IdList< T >::isConsistent(), IdxSet::isConsistent(), IsList< T >::isConsistent(), LPColSetBase< R >::isConsistent(), LPRowSetBase< R >::isConsistent(), NameSet::isConsistent(), SPxLPBase< R >::isConsistent(), SSVectorBase< R >::isConsistent(), SVectorBase< R >::isConsistent(), SVSetBase< R >::isConsistent(), and UnitVectorBase< R >::isConsistent(). ◆ SPX_MSG_INFO1
Value:
{ SOPLEX_DO_WITH_TMP_VERBOSITY( SPxOut::INFO1, spxout, x ) }
#define SOPLEX_DO_WITH_TMP_VERBOSITY(verbosity, spxout, do_something) Definition spxdefines.h:146 Prints out message Definition at line 167 of file spxdefines.h. Referenced by checkSolution(), checkSolutionRational(), checkSolutionReal(), printDualSolution(), printPrimalSolution(), and runSoPlex(). ◆ SPX_MSG_INFO2
Value:
{ SOPLEX_DO_WITH_TMP_VERBOSITY( SPxOut::INFO2, spxout, x ) }
Prints out message Definition at line 169 of file spxdefines.h. ◆ SPX_MSG_INFO3
Value:
{ SOPLEX_DO_WITH_TMP_VERBOSITY( SPxOut::INFO3, spxout, x ) }
Prints out message Definition at line 171 of file spxdefines.h. ◆ SPX_MSG_WARNING
Value:
{ SOPLEX_DO_WITH_TMP_VERBOSITY( SPxOut::WARNING, spxout, x ) }
Prints out message Definition at line 165 of file spxdefines.h. Referenced by runSoPlex().
|