├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── Doxyfile.in ├── README.md ├── external └── ConicBundle-v0.3.11.patch ├── include ├── LP_FWMAP.hxx ├── LP_MP.h ├── LP_conic_bundle.hxx ├── LP_external_interface.hxx ├── MemoryPool.h ├── MemoryPool.tcc ├── combiLP.hxx ├── config.hxx ├── const_array_types.h ├── factor_archive.hxx ├── factors │ ├── constant_factor.hxx │ └── labeling_list_factor.hxx ├── factors_messages.hxx ├── function_existence.hxx ├── graph.hxx ├── help_functions.hxx ├── marray.hxx ├── mem_use.c ├── memory_allocator.hxx ├── parse_rules.h ├── partial_external_solver.hxx ├── serialization.hxx ├── solver.hxx ├── spinlock.hxx ├── template_utilities.hxx ├── three_dimensional_variable_array.hxx ├── topological_sort.hxx ├── tree_decomposition.hxx ├── two_dimensional_variable_array.hxx ├── union_find.hxx ├── vector.hxx └── visitors │ ├── ascii_plot_visitor.hxx │ ├── postgresql_visitor.hxx │ ├── sqlite_visitor.hxx │ ├── standard_visitor.hxx │ └── tikz_visitor.hxx ├── lib ├── MinCost │ ├── CMakeLists.txt │ ├── MinCost.cpp │ ├── MinCost.h │ └── block.h └── max_flow.hxx └── test ├── CMakeLists.txt ├── cycle_inequalities.cpp ├── discrete_tomography.cpp ├── discrete_tomography_chain.cpp ├── discrete_tomography_file_input.cpp ├── discrete_tomography_gurobi.cpp ├── factor_message_containers.cpp ├── graph_matching.cpp ├── graph_test.cpp ├── graphical_model.cpp ├── labeling_factor_messages.cpp ├── min_conv.cpp ├── min_cost_flow.cpp ├── multicut.cpp ├── potts_factor.cpp ├── sat_solver.cpp ├── serialization.cpp ├── shortest_path.cpp ├── simplex.cpp ├── simplex_marginalization.cpp ├── test.h ├── test_FWMAP.cpp ├── test_conic_bundle.cpp ├── test_main.cpp ├── test_model.cpp ├── test_model.hxx ├── test_three_dimensional_variable_array.cpp ├── test_two_dimensional_variable_array.cpp └── vector.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Doxyfile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/Doxyfile.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/README.md -------------------------------------------------------------------------------- /external/ConicBundle-v0.3.11.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/external/ConicBundle-v0.3.11.patch -------------------------------------------------------------------------------- /include/LP_FWMAP.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/LP_FWMAP.hxx -------------------------------------------------------------------------------- /include/LP_MP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/LP_MP.h -------------------------------------------------------------------------------- /include/LP_conic_bundle.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/LP_conic_bundle.hxx -------------------------------------------------------------------------------- /include/LP_external_interface.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/LP_external_interface.hxx -------------------------------------------------------------------------------- /include/MemoryPool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/MemoryPool.h -------------------------------------------------------------------------------- /include/MemoryPool.tcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/MemoryPool.tcc -------------------------------------------------------------------------------- /include/combiLP.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/combiLP.hxx -------------------------------------------------------------------------------- /include/config.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/config.hxx -------------------------------------------------------------------------------- /include/const_array_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/const_array_types.h -------------------------------------------------------------------------------- /include/factor_archive.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/factor_archive.hxx -------------------------------------------------------------------------------- /include/factors/constant_factor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/factors/constant_factor.hxx -------------------------------------------------------------------------------- /include/factors/labeling_list_factor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/factors/labeling_list_factor.hxx -------------------------------------------------------------------------------- /include/factors_messages.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/factors_messages.hxx -------------------------------------------------------------------------------- /include/function_existence.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/function_existence.hxx -------------------------------------------------------------------------------- /include/graph.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/graph.hxx -------------------------------------------------------------------------------- /include/help_functions.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/help_functions.hxx -------------------------------------------------------------------------------- /include/marray.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/marray.hxx -------------------------------------------------------------------------------- /include/mem_use.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/mem_use.c -------------------------------------------------------------------------------- /include/memory_allocator.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/memory_allocator.hxx -------------------------------------------------------------------------------- /include/parse_rules.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/parse_rules.h -------------------------------------------------------------------------------- /include/partial_external_solver.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/partial_external_solver.hxx -------------------------------------------------------------------------------- /include/serialization.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/serialization.hxx -------------------------------------------------------------------------------- /include/solver.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/solver.hxx -------------------------------------------------------------------------------- /include/spinlock.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/spinlock.hxx -------------------------------------------------------------------------------- /include/template_utilities.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/template_utilities.hxx -------------------------------------------------------------------------------- /include/three_dimensional_variable_array.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/three_dimensional_variable_array.hxx -------------------------------------------------------------------------------- /include/topological_sort.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/topological_sort.hxx -------------------------------------------------------------------------------- /include/tree_decomposition.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/tree_decomposition.hxx -------------------------------------------------------------------------------- /include/two_dimensional_variable_array.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/two_dimensional_variable_array.hxx -------------------------------------------------------------------------------- /include/union_find.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/union_find.hxx -------------------------------------------------------------------------------- /include/vector.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/vector.hxx -------------------------------------------------------------------------------- /include/visitors/ascii_plot_visitor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/visitors/ascii_plot_visitor.hxx -------------------------------------------------------------------------------- /include/visitors/postgresql_visitor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/visitors/postgresql_visitor.hxx -------------------------------------------------------------------------------- /include/visitors/sqlite_visitor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/visitors/sqlite_visitor.hxx -------------------------------------------------------------------------------- /include/visitors/standard_visitor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/visitors/standard_visitor.hxx -------------------------------------------------------------------------------- /include/visitors/tikz_visitor.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/include/visitors/tikz_visitor.hxx -------------------------------------------------------------------------------- /lib/MinCost/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/lib/MinCost/CMakeLists.txt -------------------------------------------------------------------------------- /lib/MinCost/MinCost.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/lib/MinCost/MinCost.cpp -------------------------------------------------------------------------------- /lib/MinCost/MinCost.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/lib/MinCost/MinCost.h -------------------------------------------------------------------------------- /lib/MinCost/block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/lib/MinCost/block.h -------------------------------------------------------------------------------- /lib/max_flow.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/lib/max_flow.hxx -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/cycle_inequalities.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/cycle_inequalities.cpp -------------------------------------------------------------------------------- /test/discrete_tomography.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/discrete_tomography.cpp -------------------------------------------------------------------------------- /test/discrete_tomography_chain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/discrete_tomography_chain.cpp -------------------------------------------------------------------------------- /test/discrete_tomography_file_input.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/discrete_tomography_file_input.cpp -------------------------------------------------------------------------------- /test/discrete_tomography_gurobi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/discrete_tomography_gurobi.cpp -------------------------------------------------------------------------------- /test/factor_message_containers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/factor_message_containers.cpp -------------------------------------------------------------------------------- /test/graph_matching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/graph_matching.cpp -------------------------------------------------------------------------------- /test/graph_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/graph_test.cpp -------------------------------------------------------------------------------- /test/graphical_model.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/graphical_model.cpp -------------------------------------------------------------------------------- /test/labeling_factor_messages.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/labeling_factor_messages.cpp -------------------------------------------------------------------------------- /test/min_conv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/min_conv.cpp -------------------------------------------------------------------------------- /test/min_cost_flow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/min_cost_flow.cpp -------------------------------------------------------------------------------- /test/multicut.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/multicut.cpp -------------------------------------------------------------------------------- /test/potts_factor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/potts_factor.cpp -------------------------------------------------------------------------------- /test/sat_solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/sat_solver.cpp -------------------------------------------------------------------------------- /test/serialization.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/serialization.cpp -------------------------------------------------------------------------------- /test/shortest_path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/shortest_path.cpp -------------------------------------------------------------------------------- /test/simplex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/simplex.cpp -------------------------------------------------------------------------------- /test/simplex_marginalization.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/simplex_marginalization.cpp -------------------------------------------------------------------------------- /test/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test.h -------------------------------------------------------------------------------- /test/test_FWMAP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test_FWMAP.cpp -------------------------------------------------------------------------------- /test/test_conic_bundle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test_conic_bundle.cpp -------------------------------------------------------------------------------- /test/test_main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include "catch.hpp" 3 | 4 | -------------------------------------------------------------------------------- /test/test_model.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test_model.cpp -------------------------------------------------------------------------------- /test/test_model.hxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test_model.hxx -------------------------------------------------------------------------------- /test/test_three_dimensional_variable_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test_three_dimensional_variable_array.cpp -------------------------------------------------------------------------------- /test/test_two_dimensional_variable_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/test_two_dimensional_variable_array.cpp -------------------------------------------------------------------------------- /test/vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawelswoboda/LP_MP/HEAD/test/vector.cpp --------------------------------------------------------------------------------