Re-exports§
pub use self::Papilo_RowType as PAPILO_ROW_TYPE;pub use self::Papilo_ParamResult as PAPILO_PARAM_RESULT;pub use self::Papilo_SolveResult as PAPILO_SOLVE_RESULT;
Structs§
Constants§
- INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - PTRDIFF_
MAX - PTRDIFF_
MIN - Papilo_
Param Result_ PAPILO_ PARAM_ CHANGED - parameter was successfully changed
- Papilo_
Param Result_ PAPILO_ PARAM_ INVALID_ VALUE - parameter was set to an invalid value
- Papilo_
Param Result_ PAPILO_ PARAM_ NOT_ FOUND - parameter does not exist
- Papilo_
Param Result_ PAPILO_ PARAM_ WRONG_ TYPE - parameter is of a different type
- Papilo_
RowType_ PAPILO_ ROW_ TYPE_ EQUAL - Papilo_
RowType_ PAPILO_ ROW_ TYPE_ GREATER - Papilo_
RowType_ PAPILO_ ROW_ TYPE_ LESSER - Papilo_
Solve Result_ PAPILO_ SOLVE_ RESULT_ FEASIBLE - solving stopped early with a feasible solution due to limits or interrupts
- Papilo_
Solve Result_ PAPILO_ SOLVE_ RESULT_ INFEASIBLE - problem was detected to be infeasible
- Papilo_
Solve Result_ PAPILO_ SOLVE_ RESULT_ OPTIMAL - problem was solved to optimality
- Papilo_
Solve Result_ PAPILO_ SOLVE_ RESULT_ STOPPED - solving stopped early and without a solution due to limits or interrupts
- Papilo_
Solve Result_ PAPILO_ SOLVE_ RESULT_ UNBND_ OR_ INFEAS - problem was detected to be unbounded or infeasible
- Papilo_
Solve Result_ PAPILO_ SOLVE_ RESULT_ UNBOUNDED - problem was detected to be unbounded
- SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ LEAST_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _FEATURES_
H - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _SYS_
CDEFS_ H - __
FD_ SETSIZE - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ C23_ STRTOL - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C23 - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C23 - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2Y - __
GLIBC_ USE_ ISOC23 - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
OFF_ T_ MATCHES_ OFF64_ T - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ TIME_ BITS64 - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
USE_ XOPE N2K24 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - __
glibc_ c99_ flexarr_ available
Functions§
- papilo_
problem_ ⚠add_ col - Adds a column (variable) to the problem and returns its index. If colnames is NULL a generic name is used.
- papilo_
problem_ ⚠add_ cols - Add columns (variables) to the problem and returns the index of the first new column or -1 if it does not exist (i.e. num == 0). If colnames is NULL generic names are used.
- papilo_
problem_ ⚠add_ generic_ row - Add one linear constraints with given left and right hand side to the problem and returns its index. If the rowname is NULL generic names are used. The row can be a ranged row if both lhs and rhs are finite.
- papilo_
problem_ ⚠add_ generic_ rows - Add linear constraints with given left and right hand sides to the problem and returns the index of the first new row or -1 if it does not exist (i.e. num == 0). If rownames is NULL generic names are used. The rows can be a ranged row if both lhs and rhs are finite.
- papilo_
problem_ ⚠add_ nonzero - Add a nonzero entry for the given column to the given constraint
- papilo_
problem_ ⚠add_ nonzeros_ col - Add the nonzero entries for the given column to the given rows
- papilo_
problem_ ⚠add_ nonzeros_ csc - Add the nonzero entries given in compressed sparse column format. The array colstart must have size at least ncols + 1 and the arrays rows and vals must have size at least colstart[ncols].
- papilo_
problem_ ⚠add_ nonzeros_ csr - Add the nonzero entries given in compressed sparse row format. The array rowstart must have size at least nrows + 1 and the arrays cols and vals must have size at least rowstart[nrows].
- papilo_
problem_ ⚠add_ nonzeros_ row - Add the nonzero entries for the given columns to the given row
- papilo_
problem_ ⚠add_ simple_ row - Add one simple linear constraint (no ranged row) to the problem and returns its index. If rowname is NULL generic names are used.
- papilo_
problem_ ⚠add_ simple_ rows - Add simple linear constraints (no ranged rows) to the problem and returns the index of the first new row or -1 if it does not exist (i.e. num == 0). If rownames is NULL generic names are used.
- papilo_
problem_ ⚠change_ col_ integral - Change columns integrality restrictions
- papilo_
problem_ ⚠change_ col_ lb - Change columns lower bound
- papilo_
problem_ ⚠change_ col_ obj - Change columns objective coefficient
- papilo_
problem_ ⚠change_ col_ ub - Change columns upper bound
- papilo_
problem_ ⚠create - Create a new problem datastructure. Reserves space for the given number of rows, columns, and nonzeros to prevent unnecessary reallocation during problem creation. The given value of infinity is used to determine the finiteness of bounds and rowsides. The name pointer and the space hints are optional and can be NULL/0.
- papilo_
problem_ ⚠free - Free the problem datastructure
- papilo_
problem_ ⚠get_ num_ cols - returns number of columns
- papilo_
problem_ ⚠get_ num_ nonzeros - returns number of columns
- papilo_
problem_ ⚠get_ num_ rows - returns number of rows
- papilo_
solver_ ⚠create - Create a new solver datastructure
- papilo_
solver_ ⚠free - Free the problem datastructure
- papilo_
solver_ ⚠load_ problem - Load the problem into the solver, the problem datastructure will be empty afterwards and can be reused to build another problem
- papilo_
solver_ ⚠set_ lp_ param_ bool - Set boolean parameter with given key to the given value
- papilo_
solver_ ⚠set_ lp_ param_ char - Set character parameter with given key to the given value
- papilo_
solver_ ⚠set_ lp_ param_ int - Set integer parameter with given key to the given value
- papilo_
solver_ ⚠set_ lp_ param_ int64 - Set 64bit integer parameter with given key to the given value
- papilo_
solver_ ⚠set_ lp_ param_ real - Set real parameter with given key to the given value
- papilo_
solver_ ⚠set_ lp_ param_ string - Set string parameter with given key to the given value
- papilo_
solver_ ⚠set_ mip_ param_ bool - Set boolean parameter with given key to the given value
- papilo_
solver_ ⚠set_ mip_ param_ char - Set character parameter with given key to the given value
- papilo_
solver_ ⚠set_ mip_ param_ int - Set integer parameter with given key to the given value
- papilo_
solver_ ⚠set_ mip_ param_ int64 - Set 64bit integer parameter with given key to the given value
- papilo_
solver_ ⚠set_ mip_ param_ real - Set real parameter with given key to the given value
- papilo_
solver_ ⚠set_ mip_ param_ string - Set string parameter with given key to the given value
- papilo_
solver_ ⚠set_ num_ threads - Set the maximum number of threads to be used when the solver is started. Can be -1 to determine the number of threads automatically based on the hardware (default behavior), or a number larger or equal to 1.
- papilo_
solver_ ⚠set_ param_ bool - Set bool parameter with given key to the given value
- papilo_
solver_ ⚠set_ param_ char - Set character parameter with given key to the given value
- papilo_
solver_ ⚠set_ param_ int - Set integer parameter with given key to the given value
- papilo_
solver_ ⚠set_ param_ real - Set real parameter with given key to the given value
- papilo_
solver_ ⚠set_ param_ string - Set string parameter with given key to the given value
- papilo_
solver_ ⚠set_ trace_ callback - Set callback for message output. If the callback is set to NULL output is printed to stdout. The level argument is set as follows: 1 - errors, 2 - warnings, 3 - info, 4 - detailed
- papilo_
solver_ ⚠start - Start the solving process
- papilo_
solver_ ⚠write_ mps - Write the problem to an mps file. Must be called after the problem was loaded into the solver. If the filename ends with .gz or .bz2 the file is written compressed
Type Aliases§
- PAPILO_
PROBLEM - PAPILO_
SOLVER - Solver type for presolve library
- Papilo_
Param Result - Return values for setting solver parameters
- Papilo_
RowType - Enum type to specify the rows with a single side value
- Papilo_
Solve Result - Return values for solving
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
time_ t - __
timer_ t - __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - wchar_t