Giter Site home page Giter Site logo

papilo's People

Contributors

alexhoen avatar ambros-gleixner avatar antoineprv avatar fschloesser avatar gabrielkp avatar lgottwald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mlubin leoncoci

papilo's Issues

64-bit indices

PaPILO is very impressive work, and I'm evaluating using it in a particular application. One issue I noticed is that PaPILO currently uses int to index variables, constraints, and to count the number of nonzeros in the constraint matrix. int is typically 4 bytes. A number of solvers support more than 2^31 ≈ 2 billion variables, constraints, or nonzero entries.
Is this restriction intentional, and how difficult would it be to relax?

libpapilo-core.a not installed

Hello,

After installing with CMake in a custom location, I cannot see libpapilo-core.a under lib, only libclusol.a.
Is this the desired behavior? Or is libpapilo-core.a only an intermediate library not supposed to be installed?

Thanks

Configuring incomplete, errors occurred!

Hello,
I get an error when I use CMake to build PaPILO

CMake Error at cmake/Modules/FindTBB.cmake:50 (set_target_properties):
set_target_properties called with incorrect number of arguments.
Call Stack (most recent call first):
CMakeLists.txt:96 (find_package)

How can I solve this situation?
Thanks!

Installation error

I tried installing SCIPOptSuite 7.0.1 in Windows Subsystem linux - Ubuntu 18.04 using a cmake install with all default settings. I got the following error:

/usr/bin/ld: /usr/local/lib/libtbb.a(governor.o): undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line  
collect2: error: ld returned 1 exit status  
make[2]: *** [bin/scip] Error 1      
make[1]: *** [scip/src/CMakeFiles/scip.dir/all] Error 2   
make: *** [all] Error 2    

Through personal emails, I was told that this is a PaPILO issue. As expected, running the cmake after disabling PaPILO and then installing scip worked. Please let me know if there is any additional information that you would like me to provide.

Testing PAPILO

Hello
I have built papilo on MSVC 2017 with SOPLEX (built from CMAKE GUI) and OneTBB (built with CMAKE GUI too).
when I am trying to run the example "duplicates" I get the following link errors

1>duplicates.obj : error LNK2019: unresolved external symbol "void __cdecl tbb::assertion_failure(char const *,int,char const *,char const *)" (?assertion_failure@tbb@@YAXPEBDH00@Z) referenced in function "public: __cdecl tbb::blocked_range<int>::blocked_range<int>(class tbb::blocked_range<int> &,class tbb::split)" (??0?$blocked_range@H@tbb@@QEAA@AEAV01@Vsplit@1@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: class tbb::task & __cdecl tbb::internal::allocate_root_with_context_proxy::allocate(unsigned __int64)const " (?allocate@allocate_root_with_context_proxy@internal@tbb@@QEBAAEAVtask@3@_K@Z) referenced in function "void * __cdecl operator new(unsigned __int64,class tbb::internal::allocate_root_with_context_proxy const &)" (??2@YAPEAX_KAEBVallocate_root_with_context_proxy@internal@tbb@@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: void __cdecl tbb::internal::allocate_root_with_context_proxy::free(class tbb::task &)const " (?free@allocate_root_with_context_proxy@internal@tbb@@QEBAXAEAVtask@3@@Z) referenced in function "void __cdecl operator delete(void *,class tbb::internal::allocate_root_with_context_proxy const &)" (??3@YAXPEAXAEBVallocate_root_with_context_proxy@internal@tbb@@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: class tbb::task & __cdecl tbb::internal::allocate_continuation_proxy::allocate(unsigned __int64)const " (?allocate@allocate_continuation_proxy@internal@tbb@@QEBAAEAVtask@3@_K@Z) referenced in function "void * __cdecl operator new(unsigned __int64,class tbb::internal::allocate_continuation_proxy const &)" (??2@YAPEAX_KAEBVallocate_continuation_proxy@internal@tbb@@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: void __cdecl tbb::internal::allocate_continuation_proxy::free(class tbb::task &)const " (?free@allocate_continuation_proxy@internal@tbb@@QEBAXAEAVtask@3@@Z) referenced in function "void __cdecl operator delete(void *,class tbb::internal::allocate_continuation_proxy const &)" (??3@YAXPEAXAEBVallocate_continuation_proxy@internal@tbb@@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: class tbb::task & __cdecl tbb::internal::allocate_child_proxy::allocate(unsigned __int64)const " (?allocate@allocate_child_proxy@internal@tbb@@QEBAAEAVtask@3@_K@Z) referenced in function "void * __cdecl tbb::interface9::internal::allocate_sibling(class tbb::task *,unsigned __int64)" (?allocate_sibling@internal@interface9@tbb@@YAPEAXPEAVtask@3@_K@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: __cdecl tbb::task_group_context::~task_group_context(void)" (??1task_group_context@tbb@@QEAA@XZ) referenced in function "public: static void __cdecl tbb::interface9::internal::start_for<class tbb::blocked_range<int>,class <lambda_05d5395856c5caba307eef7cd4e4a086>,class tbb::auto_partitioner const >::run(class tbb::blocked_range<int> const &,class <lambda_05d5395856c5caba307eef7cd4e4a086> const &,class tbb::auto_partitioner const &)" (?run@?$start_for@V?$blocked_range@H@tbb@@V<lambda_05d5395856c5caba307eef7cd4e4a086>@@$$CBVauto_partitioner@2@@internal@interface9@tbb@@SAXAEBV?$blocked_range@H@4@AEBV<lambda_05d5395856c5caba307eef7cd4e4a086>@@AEBVauto_partitioner@4@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "public: bool __cdecl tbb::task_group_context::is_group_execution_cancelled(void)const " (?is_group_execution_cancelled@task_group_context@tbb@@QEBA_NXZ) referenced in function "public: bool __cdecl tbb::task::is_cancelled(void)const " (?is_cancelled@task@tbb@@QEBA_NXZ)
1>duplicates.obj : error LNK2019: unresolved external symbol "protected: void __cdecl tbb::task_group_context::init(void)" (?init@task_group_context@tbb@@IEAAXXZ) referenced in function "public: __cdecl tbb::task_group_context::task_group_context(enum tbb::internal::string_index)" (??0task_group_context@tbb@@QEAA@W4string_index@internal@1@@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "private: void __cdecl tbb::task::internal_set_ref_count(int)" (?internal_set_ref_count@task@tbb@@AEAAXH@Z) referenced in function "public: void __cdecl tbb::task::set_ref_count(int)" (?set_ref_count@task@tbb@@QEAAXH@Z)
1>duplicates.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl tbb::task::note_affinity(unsigned short)" (?note_affinity@task@tbb@@UEAAXG@Z)
1>duplicates.obj : error LNK2019: unresolved external symbol "unsigned __int64 __cdecl tbb::internal::get_initial_auto_partitioner_divisor(void)" (?get_initial_auto_partitioner_divisor@internal@tbb@@YA_KXZ) referenced in function "public: __cdecl tbb::interface9::internal::adaptive_mode<class tbb::interface9::internal::auto_partition_type>::adaptive_mode<class tbb::interface9::internal::auto_partition_type>(void)" (??0?$adaptive_mode@Vauto_partition_type@internal@interface9@tbb@@@internal@interface9@tbb@@QEAA@XZ)

when I am trying to run the example "convMPS" I get the following error

1>C:\Software\papilo\src\convMPS.cpp(175): error C2440: 'initializing': cannot convert from 'boost::optional<papilo::Problem<double>>' to 'papilo::Problem<double>'
1>C:\Software\papilo\src\convMPS.cpp(175): note: No constructor could take the source type, or constructor overload resolution was ambiguous

also when I try to build "papilo-execulatable" I get lots to tbb related linking errors

any help would be appreciated
best
jac

Broken install header?

Hello,

After installing PaPILO with CMake, the program

#include <papilo/core/Problem.hpp>

int main() {
    papilo::Problem<float> prob;
}

Fails with

include/papilo/core/SparseStorage.hpp:29:10: fatal error: pdqsort/pdqsort.h: No such file or directory
 #include "pdqsort/pdqsort.h"

Due to external header being installed under include/papilo-external/pdqsort

DESTINATION include/papilo-external/pdqsort)

Is this the desired behavior? Or ispapilo/core/Problem.hpp a private header?

Thanks

Build on MACOS - libz.dylib and /Users/adm_timo/ error

Hello, I am compiling on MACOS 11.1 (20C69) and run into the following error during make

[ 73%] Built target papilo-core
[ 75%] Building CXX object binaries/CMakeFiles/papilo-executable.dir/__/src/papilo.cpp.o
make[2]: *** No rule to make target `/usr/lib/libz.dylib', needed by `bin/papilo'.  Stop.

I have installed the zlib library from brew brew install zlib and manually changed the paths `/usr/lib/libz.dylib' to the correct location of the library in

Juraj@Manin (master):$ vim binaries/CMakeFiles/papilolib.dir/build.make
Juraj@Manin (master):$ vim binaries/CMakeFiles/papilo-executable.dir/build.make
Juraj@Manin (master):$ vim test/CMakeFiles/unit_test.dir/build.make

Doing so results in the following problem:

[ 73%] Built target papilo-core
Consolidate compiler generated dependencies of target papilo-executable
make[2]: *** No rule to make target `/Users/adm_timo/sw/gmp/lib/libgmp.a', needed by `bin/papilo'.  Stop.

where for some reason the /Users/adm_timo/ path is assumed for some libraries, e.g. the file binaries/CMakeFiles/papilolib.dir/link.txt contains (ctrl+F adm_timo)

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -dynamiclib -Wl,-headerpad_max_install_names -o ../lib/libpapilo.dylib -install_name @rpath/libpapilo.dylib CMakeFiles/papilolib.dir/__/src/papilolib.cpp.o -L/usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/gcc/x86_64-apple-darwin20/10.2.0 -L/usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10 /Users/Juraj/Libraries/SCIPOptSuite-7.0.1-Darwin/lib/libsoplex-pic.a /Users/Juraj/Libraries/SCIPOptSuite-7.0.1-Darwin/lib/libscip.7.0.1.0.dylib /usr/local/lib/libboost_iostreams-mt.dylib /usr/local/lib/libtbb.dylib /usr/local/lib/libgmp.dylib /usr/local/lib/libgmpxx.dylib ../libclusol.a /opt/intel/compilers_and_libraries_2020.1.216/mac/mkl/lib/libmkl_intel_lp64.dylib /opt/intel/compilers_and_libraries_2020.1.216/mac/mkl/lib/libmkl_intel_thread.dylib /opt/intel/compilers_and_libraries_2020.1.216/mac/mkl/lib/libmkl_core.dylib /usr/local/lib/libiomp5.dylib -lm -ldl /usr/local/opt/zlib/lib/libz.dylib /Users/adm_timo/sw/gmp/lib/libgmp.a /Users/adm_timo/sw/gmp/lib/libgmpxx.a -lgfortran -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc

Revision of README and command line help

This is to collect additional points to add to the README file:

  • adding a list of all nonstandard cmake flags (SCIP_DIR etc.)
  • mentioning make test
  • explaining that currently only MPS is supported

Furthermore, for the command line help:

  • --print-params is listed twice with "print possible parameters presolving"
  • --threads should be specified to be the threads used by PaPILO (I assume)

implicit instantiation of undefined template 'boost::serialization::nvp<bool>'

Description

I've occasionally run into this error: boostorg/serialization#186

../include/boost/multiprecision/cpp_bin_float.hpp:533:12: error: implicit instantiation of undefined template 'boost::serialization::nvp<bool>'
      ar & boost::serialization::make_nvp("sign", m_sign);
           ^
.../include/boost/multiprecision/detail/number_base.hpp:60:14: note: template is declared here
      struct nvp;

In the following cases:

  • ❌ Boost 1.70.0 and Clang 10.0.1 (actual Clang, not AppleClang)

These however worked fine:

  • ✅ Boost 1.70.0 and GCC 7.5.0
  • ✅ Boost 1.73.0 and Clang 10.0.1 (actual Clang, not AppleClang)

Proposed solution

As suggested in the Boost issue, it got solved it by adding #include <boost/serialization/nvp.hpp> here

#include <boost/multiprecision/cpp_bin_float.hpp>

and there
#include <boost/multiprecision/cpp_bin_float.hpp>

Is this a change that would make sense in PaPILO?

cmake error: pthread not found

I cloned, went to the current bugfix (39ff4dd) then mkdir build; cd build; cmake ..
and it fails.

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_5c4da/fast"
/usr/bin/make -f CMakeFiles/cmTC_5c4da.dir/build.make CMakeFiles/cmTC_5c4da.dir/build
make[1]: Entering directory '/home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5c4da.dir/CheckSymbolExists.c.o
/usr/bin/cc   -fPIE   -o CMakeFiles/cmTC_5c4da.dir/CheckSymbolExists.c.o   -c /home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_5c4da
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5c4da.dir/link.txt --verbose=1
/usr/bin/cc      CMakeFiles/cmTC_5c4da.dir/CheckSymbolExists.c.o  -o cmTC_5c4da 
CMakeFiles/cmTC_5c4da.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_5c4da.dir/build.make:97: recipe for target 'cmTC_5c4da' failed
make[1]: *** [cmTC_5c4da] Error 1
make[1]: Leaving directory '/home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_5c4da/fast' failed
make: *** [cmTC_5c4da/fast] Error 2

File /home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1a55e/fast"
/usr/bin/make -f CMakeFiles/cmTC_1a55e.dir/build.make CMakeFiles/cmTC_1a55e.dir/build
make[1]: Entering directory '/home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1a55e.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE   -o CMakeFiles/cmTC_1a55e.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_1a55e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a55e.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_1a55e.dir/CheckFunctionExists.c.o  -o cmTC_1a55e -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_1a55e.dir/build.make:97: recipe for target 'cmTC_1a55e' failed
make[1]: *** [cmTC_1a55e] Error 1
make[1]: Leaving directory '/home/fserrano/projects/papilo/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1a55e/fast' failed
make: *** [cmTC_1a55e/fast] Error 2

any ideas? I have pthreads installed

runtime error

I get

lib/include/papilo/external/tbb/include/tbb/task.h:1125:28: runtime error: member call on address 0x7efc1904b200 which does not point to an object of type 'scheduler'
0x7efc1904b200: note: object is of type 'tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>'
 00 00 00 00  b0 aa 75 1b fc 7e 00 00  00 00 00 00 00 00 00 00  60 7f 05 19 fc 7e 00 00  60 7f 05 19
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>'
lib/include/papilo/external/tbb/include/tbb/task.h:801:37: runtime error: member call on address 0x7efc1904b200 which does not point to an object of type 'scheduler'
0x7efc1904b200: note: object is of type 'tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>'
 00 00 00 00  b0 aa 75 1b fc 7e 00 00  00 00 00 00 00 00 00 00  60 7f 05 19 fc 7e 00 00  60 7f 05 19
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>'
lib/include/papilo/external/tbb/include/tbb/task.h:809:49: runtime error: member call on address 0x7efc1904b200 which does not point to an object of type 'scheduler'
0x7efc1904b200: note: object is of type 'tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>'
 00 00 00 00  b0 aa 75 1b fc 7e 00 00  00 00 00 00 00 00 00 00  60 7f 05 19 fc 7e 00 00  60 7f 05 19
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>'

How to reproduce: use v70-bugfix, ug current master (dc15357):

SCIP version 7.0.2 [precision: 8 byte] [memory: block] [mode: debug] [LP solver: CPLEX 12.9.0.0] [GitHash: 4dc89d4]
Copyright (C) 2002-2020 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
External codes: 
  Readline 6.3         GNU library for command line editing (gnu.org/s/readline)
  CPLEX 12.9.0.0       Linear Programming Solver developed by IBM (www.cplex.com)
  CppAD 20180000.0     Algorithmic Differentiation of C++ algorithms developed by B. Bell (www.coin-or.org/CppAD)
  ZLIB 1.2.8           General purpose compression library by J. Gailly and M. Adler (zlib.net)
  GMP 6.1.0            GNU Multiple Precision Arithmetic Library developed by T. Granlund (gmplib.org)
  PaPILO 1.0.0.1       parallel presolve for integer and linear optimization (https://github.com/lgottwald/PaPILO)

Then run

fscip-1.0.0.linux.x86_64.gnu.dbg.cpx default-debug7.prm neos859080.mps.gz -s default-debug7.set

Citing?

I'd like to cite PaPILO in a publication. What's the preferred document to cite? The GitHub page, or perhaps the SCIP 7 report?

Change the folder name for CmakeConfig.hpp

Hello !

I usually use netbeans to navigate C/C++ source code and having several includes that start with "papilo/..." and having a folder named "papilo" in the source root folder generated by cmake confuses netbeans that try to find the include files on that folder instead of the "src/papilo/...", would be nice if that generated folder could have a different name, right now I changed it to "papilo-cmk" and I've got netbeans to navigate through the source.

Cheers !

Compile Error : no member named 'gcd' in in namespace 'boost'

My log for cmake on ARM64

-- The C compiler identification is Clang 14.0.6
-- The CXX compiler identification is Clang 14.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /data/data/com.termux/files/usr/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0")
-- Found GMP: /data/data/com.termux/files/usr/include
-- Performing Test Quadmath_USE_DIRECTLY
-- Performing Test Quadmath_USE_DIRECTLY - Failed
-- Could NOT find Quadmath (missing: Quadmath_LIBRARY Quadmath_INCLUDE_DIR)
-- Git hash: v1.0.0-236-g0476895
-- Found TBB: /data/data/com.termux/files/usr/lib/libtbb.so
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - NOTFOUND
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /data/data/com.termux/files/usr/lib/libopenblas.so
-- LUSOL is not built
-- Performing Test HAVE_FLAG_STD_CXX14
-- Performing Test HAVE_FLAG_STD_CXX14 - Success
-- Performing Test PAPILO_BYTELL_HASHMAP_WORKS
-- Performing Test PAPILO_BYTELL_HASHMAP_WORKS - Success
-- Found Boost: /data/data/com.termux/files/usr/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: iostreams serialization program_options
-- Performing Test PAPILO_USE_BOOST_IOSTREAMS_WITH_ZLIB
-- Performing Test PAPILO_USE_BOOST_IOSTREAMS_WITH_ZLIB - Success
-- Performing Test PAPILO_USE_BOOST_IOSTREAMS_WITH_BZIP2
-- Performing Test PAPILO_USE_BOOST_IOSTREAMS_WITH_BZIP2 - Success
-- No solvers linked
-- Configuring done
-- Generating done
-- Build files have been written to: /data/data/com.termux/files/home/PaPILO/build

While making

[  2%] Building CXX object test/CMakeFiles/unit_test.dir/TestMain.cpp.o
[  5%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/VariableDomains.cpp.o
[  8%] Building CXX object test/CMakeFiles/unit_test.dir/MatrixBuffer.cpp.o
[ 11%] Building CXX object test/CMakeFiles/unit_test.dir/VectorUtils.cpp.o
[ 14%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/SparseStorage.cpp.o
[ 17%] Building CXX object test/CMakeFiles/unit_test.dir/NumericalStatistics.cpp.o
[ 20%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/ConstraintMatrix.cpp.o
[ 23%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/ProblemUpdate.cpp.o
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/ProblemUpdate.cpp:24:
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/ProblemUpdate.hpp:28:
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.hpp:494:15: warning: enumeration value 'kSaveCol' not handled in switch [-Wswitch]
      switch( type )
              ^~~~
[ 26%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/Presolve.cpp.o
[ 29%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/Postsolve.cpp.o
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Presolve.cpp:24:
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Presolve.hpp:40:
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/ProblemUpdate.hpp:28:
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.hpp:494:15: warning: enumeration value 'kSaveCol' not handled in switch [-Wswitch]
      switch( type )
              ^~~~
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Presolve.cpp:24:
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Presolve.hpp:62:
/data/data/com.termux/files/home/PaPILO/src/papilo/presolvers/SimplifyInequalities.hpp:97:14: error: no member named 'gcd' in namespace 'boost'; did you mean 'boost::movelib::gcd'?
      return boost::gcd( intval1, intval2 );
             ^~~~~~~~~~
             boost::movelib::gcd
/data/data/com.termux/files/usr/include/boost/move/algo/detail/merge.hpp:309:10: note: 'boost::movelib::gcd' declared here
Unsigned gcd(Unsigned x, Unsigned y)
         ^
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Presolve.cpp:24:
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Presolve.hpp:62:
/data/data/com.termux/files/home/PaPILO/src/papilo/presolvers/SimplifyInequalities.hpp:119:14: error: no member named 'gcd' in namespace 'boost'; did you mean 'boost::movelib::gcd'?
      return boost::gcd( intval4, intval5 ) / REAL{ 600 };
             ^~~~~~~~~~
             boost::movelib::gcd
/data/data/com.termux/files/usr/include/boost/move/algo/detail/merge.hpp:309:10: note: 'boost::movelib::gcd' declared here
Unsigned gcd(Unsigned x, Unsigned y)
         ^
1 warning generated.
[ 32%] Building CXX object CMakeFiles/papilo-core.dir/src/papilo/core/ProbingView.cpp.o
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.cpp:24:
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.hpp:494:15: warning: enumeration value 'kSaveCol' not handled in switch [-Wswitch]
      switch( type )
              ^~~~
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.hpp:494:15: warning: enumeration value 'kSaveCol' not handled in switch [-Wswitch]
      switch( type )
              ^~~~
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.cpp:29:16: note: in instantiation of member function 'papilo::Postsolve<double>::undo' requested here
template class Postsolve<double>;
               ^
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.cpp:24:
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.hpp:494:15: warning: enumeration value 'kSaveCol' not handled in switch [-Wswitch]
      switch( type )
              ^~~~
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.cpp:30:16: note: in instantiation of member function 'papilo::Postsolve<boost::multiprecision::number<boost::multiprecision::backends::gmp_float<35>, boost::multiprecision::et_on>>::undo' requested here
template class Postsolve<Quad>;
               ^
In file included from /data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.cpp:24:
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.hpp:494:15: warning: enumeration value 'kSaveCol' not handled in switch [-Wswitch]
      switch( type )
              ^~~~
/data/data/com.termux/files/home/PaPILO/src/papilo/core/Postsolve.cpp:31:16: note: in instantiation of member function 'papilo::Postsolve<boost::multiprecision::number<boost::multiprecision::backends::gmp_rational, boost::multiprecision::et_on>>::undo' requested here
template class Postsolve<Rational>;
               ^
1 warning and 2 errors generated.
make[2]: *** [CMakeFiles/papilo-core.dir/build.make:132: CMakeFiles/papilo-core.dir/src/papilo/core/Presolve.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
4 warnings generated.
make[1]: *** [CMakeFiles/Makefile2:121: CMakeFiles/papilo-core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.