name
string
code
string
asm
string
file
string
fmt::v7::detail::dragonbox::decimal_fp<double> fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>...
inline OutputIt write_padded(OutputIt out, const basic_format_specs<Char>& specs, size_t size, size_t width, F&& f) { static_assert(align == align::left || align == align::right, ""); unsigned spec_width = to_unsigned(specs.width); size_t padding = spec_wi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl (%rsi), %edi movq %r8, %r15 movq %rcx, %rbp movq %rdx, %r13 movq %rsi, %r14 callq 0x10ac5 movl %eax, %eax xorl %r12d, %r12d subq %rbp, %rax movzbl 0xe(%r14), %esi leaq 0x41e823(%rip), %rcx # 0x44ab09 movq %rbx, %rdi cmo...
/quesnel[P]baryonyx/external/fmt/include/fmt/format.h
fmt::v7::detail::big_decimal_fp fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> fmt::v7::detai...
inline OutputIt write_padded(OutputIt out, const basic_format_specs<Char>& specs, size_t size, size_t width, F&& f) { static_assert(align == align::left || align == align::right, ""); unsigned spec_width = to_unsigned(specs.width); size_t padding = spec_wi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl (%rsi), %edi movq %r8, %r15 movq %rcx, %rbp movq %rdx, %r13 movq %rsi, %r14 callq 0x10ac5 movl %eax, %eax xorl %r12d, %r12d subq %rbp, %rax movzbl 0xe(%r14), %esi leaq 0x41deb0(%rip), %rcx # 0x44ab09 movq %rbx, %rdi cmo...
/quesnel[P]baryonyx/external/fmt/include/fmt/format.h
fmt::v7::detail::big_decimal_fp fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> fmt::v7::detai...
inline OutputIt write_padded(OutputIt out, const basic_format_specs<Char>& specs, size_t size, size_t width, F&& f) { static_assert(align == align::left || align == align::right, ""); unsigned spec_width = to_unsigned(specs.width); size_t padding = spec_wi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl (%rsi), %edi movq %r8, %r15 movq %rcx, %rbp movq %rdx, %r13 movq %rsi, %r14 callq 0x10ac5 movl %eax, %eax xorl %r12d, %r12d subq %rbp, %rax movzbl 0xe(%r14), %esi leaq 0x41ddb3(%rip), %rcx # 0x44ab09 movq %rbx, %rdi cmo...
/quesnel[P]baryonyx/external/fmt/include/fmt/format.h
baryonyx::itm::local_context::local_context(baryonyx::context const&, unsigned int, unsigned long)
local_context(const context& ctx, const unsigned thread_id_, const random_engine::result_type seed) : rng(seed) , choose_sol_dist( ctx.parameters.init_crossover_solution_selection_mean, ctx.parameters.init_crossover_solution_selection_stddev) , v...
movl $0x7fffffff, %r8d # imm = 0x7FFFFFFF movq %rcx, %rax movl %edx, %ecx xorl %edx, %edx divq %r8 xorl %eax, %eax cmpq $0x1, %rdx adcq $0x0, %rdx movq %rdx, (%rdi) vmovups 0x58(%rsi), %xmm0 vmovups %xmm0, 0x8(%rdi) andq $0x0, 0x18(%rdi) movb %al, 0x20(%rdi) vmovups 0x68(%rsi), %xmm0 vmovups %xmm0, 0x28(%rdi) and...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>::solver_random_inequalities_101coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::default_cost_type<float> const&, std::vector<baryonyx...
solver_random_inequalities_101coeff( random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : rng(rng_) , ap(csts, m_, n_) , A(std::make_unique<int[]>(ap.size())) , R(std::make_unique<rc_data[]>(compute_reduced_costs_ve...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp leaq 0x8(%rdi), %r13 movq %rsi, (%rdi) movq %rdi, %r15 movq %r9, %r12 movq %r8, 0x20(%rsp) movl %edx, %r14d movq %r9, %rsi movl %ecx, 0x4(%rsp) movq %r13, %rdi callq 0x2f90c movl 0x30(%r15), %esi leaq 0x48(%r15), %rbx movq %rbx, %rdi mov...
/quesnel[P]baryonyx/lib/src/random-solver.cpp
baryonyx::itm::best_solution_recorder<baryonyx::itm::default_cost_type<float>, float, baryonyx::itm::maximize_tag>::reinit(baryonyx::itm::local_context&, bool, double, double, baryonyx::bit_array&)
double reinit(local_context& ctx, const bool /*is_solution*/, const double kappa_min, const double kappa_max, bit_array& x) { to_log(stdout, 3u, "- reinitinialization thread {}.\n", ctx.thread_id); double kappa = kappa_min; ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq 0x5fce3a(%rip), %r12 # 0x62afc0 movq %rdi, %r15 movq %rcx, %rbx leaq 0x41f12e(%rip), %rcx # 0x44d2c1 vmovsd %xmm1, 0x8(%rsp) vmovsd %xmm0, 0x10(%rsp) movq %rsi, %r14 leaq 0xa0(%rsi), %r8 movq (%r12), %rdi pushq $0x3 popq %rsi pushq $0x20 popq %rdx ...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>> co...
void init(const Solver& s, const Xtype& x) { switch (order) { case solver_parameters::constraint_order::infeasibility_decr: case solver_parameters::constraint_order::infeasibility_incr: infeasibility_local_compute_violated_constraints(s, x); break; case solver...
movl 0x30(%rdi), %ecx movq %rdi, %rax leal -0x3(%rcx), %edi cmpl $0x2, %edi jae 0x2e28a movq %rax, %rdi jmp 0x31b3c cmpl $0x7, %ecx jne 0x2e2a7 movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x2e2b5 movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x2e298 movq %rsi, %rdi movq %rdx, %rsi movq %...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::best_solution_recorder<baryonyx::itm::default_cost_type<float>, float, baryonyx::itm::maximize_tag>::try_update(baryonyx::itm::local_context&, baryonyx::bit_array const&, double, long)
void try_update(local_context& ctx, const bit_array& solution, const double value, const long int loop) { auto hash = bit_array_hash()(solution); if (m_storage.can_be_inserted(hash, value)) { const auto end = std::chrono::stead...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r13 leaq 0xf(%rsp), %rdi movq %rsi, %r15 movq %rdx, %rsi movq %rcx, %rbx vmovsd %xmm0, 0x10(%rsp) movq %rdx, %r14 callq 0x299d0 vmovsd 0x10(%rsp), %xmm0 leaq 0x8(%r13), %rbp movq %rax, %r12 movq %rax, %rsi movq %rbp, %rdi cal...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void baryonyx::to_log<unsigned int>(_IO_FILE*, unsigned int, std::basic_string_view<char, std::char_traits<char>>, unsigned int const&)
void to_log([[maybe_unused]] std::FILE* os, [[maybe_unused]] unsigned indent, [[maybe_unused]] const std::string_view fmt, [[maybe_unused]] const Args&... args) { #ifdef BARYONYX_ENABLE_LOG #ifdef BARYONYX_ENABLE_DEBUG fmt::print(os, "{:{}}", "", indent); fmt::print(os, fmt, args...); #endi...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp leaq 0x10(%rsp), %r15 movq %r8, %rbx movq %rdi, %r14 movq %rdx, (%r15) movq %rcx, 0x8(%r15) leaq 0xc(%rsp), %rcx leaq 0x41889d(%rip), %rdx # 0x449b5d movl %esi, (%rcx) leaq 0x41bcc2(%rip), %rsi # 0x44cf8b callq 0x2a1d3 movq %r14, %rdi movq %r15, %rsi movq %rbx, %r...
/quesnel[P]baryonyx/lib/src/private.hpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<float>, baryonyx::itm::maximize_tag>::crossover(baryonyx::itm::local_context&, baryonyx::bit_array&)
void crossover(local_context& ctx, bit_array& x) { m_indices_reader lock(m_indices_mutex); if (ctx.crossover_bastert_insertion(ctx.rng)) { int first = m_indices[choose_a_solution(ctx)]; std::bernoulli_distribution b(0.5); if (b(ctx.rng)) { if (b(...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, 0x10(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movb $0x1, 0x18(%rsp) callq 0x318a2 leaq 0x80(%r15), %rdi movq %r15, %rsi callq 0x284ca testb %al, %al je 0x31585 movq %rbx, %rdi movq %r15, %rsi callq 0x31704 movq 0x38(%rbx), %...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void baryonyx::to_log<double, double>(_IO_FILE*, unsigned int, std::basic_string_view<char, std::char_traits<char>>, double const&, double const&)
void to_log([[maybe_unused]] std::FILE* os, [[maybe_unused]] unsigned indent, [[maybe_unused]] const std::string_view fmt, [[maybe_unused]] const Args&... args) { #ifdef BARYONYX_ENABLE_LOG #ifdef BARYONYX_ENABLE_DEBUG fmt::print(os, "{:{}}", "", indent); fmt::print(os, fmt, args...); #endi...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp leaq 0x8(%rsp), %r12 movq %r9, %rbx movq %r8, %r14 movq %rdi, %r15 movq %rdx, (%r12) movq %rcx, 0x8(%r12) leaq 0x4(%rsp), %rcx leaq 0x418115(%rip), %rdx # 0x449b5d movl %esi, (%rcx) leaq 0x41b53a(%rip), %rsi # 0x44cf8b callq 0x2a1d3 movq %r15, %rdi movq...
/quesnel[P]baryonyx/lib/src/private.hpp
bool baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>::compute_update_row<baryonyx::bit_array, __gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>(baryonyx::bit_array&, __gnu_cxx::__normal_iterator<int const*, st...
bool compute_update_row(Xtype& x, Iterator first, Iterator last, Float kappa, Float delta, Float theta) { for (; first != last; ++first) { auto k = constrai...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp vmovss %xmm1, 0xc(%rsp) vmovss 0x419ae7(%rip), %xmm1 # 0x44c914 leaq 0x8(%rdi), %r14 leaq 0x50(%rsp), %r15 movq %rdi, %r12 vmovss %xmm2, 0x3c(%rsp) movq %rcx, 0x68(%rsp) movq %rsi, 0x10(%rsp) movq %rdi, 0x18(%rsp) movq %r14, 0x60(%rsp)...
/quesnel[P]baryonyx/lib/src/random-solver.cpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<float>, baryonyx::itm::maximize_tag>::replace_result(int, baryonyx::bit_array const&, double, double, unsigned long, long, int)
void replace_result(const int id, const bit_array& x, const double value, const double duration, const std::size_t hash, const long int loop, const int remaining_constraints) n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, 0x18(%rsp) movl %r9d, %ebx movq %r8, %r14 movq %rcx, %r15 vmovsd %xmm1, 0x10(%rsp) vmovsd %xmm0, 0x8(%rsp) movq %rdx, %r13 movl %esi, %ebp movq %rdi, %r12 movb $0x1, 0x20(%rsp) callq 0x318a2 movq 0x50(%r12), %rdi movslq %ebp, ...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void baryonyx::to_log<int, unsigned long, double, long>(_IO_FILE*, unsigned int, std::basic_string_view<char, std::char_traits<char>>, int const&, unsigned long const&, double const&, long const&)
void to_log([[maybe_unused]] std::FILE* os, [[maybe_unused]] unsigned indent, [[maybe_unused]] const std::string_view fmt, [[maybe_unused]] const Args&... args) { #ifdef BARYONYX_ENABLE_LOG #ifdef BARYONYX_ENABLE_DEBUG fmt::print(os, "{:{}}", "", indent); fmt::print(os, fmt, args...); #endi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq 0x50(%rsp), %r12 movq 0x58(%rsp), %r13 leaq 0x8(%rsp), %rbp movq %r9, %rbx movq %r8, %r14 movq %rdi, %r15 movq %rdx, (%rbp) movq %rcx, 0x8(%rbp) leaq 0x4(%rsp), %rcx leaq 0x414785(%rip), %rdx # 0x449b5d movl %esi, (%rcx) leaq 0x4...
/quesnel[P]baryonyx/lib/src/private.hpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<float>, baryonyx::itm::maximize_tag>::get_best(int&, double&, double&, long&) const
void get_best(int& constraints_remaining, double& value, double& duration, long int& loop) const noexcept { m_indices_reader lock(m_indices_mutex); int id = m_indices.front(); constraints_remaining = m_data[id].remaining_constraints; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, (%rsp) movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 movb $0x1, 0x8(%rsp) callq 0x318a2 movq 0x38(%r13), %rax movq 0x50(%r13), %rcx movq %rsp, %rdi movslq (%rax), %rax imulq $0x38, %rax, %rax movl 0x30(%r...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void fmt::v7::print<char const*, int, double, int, unsigned long, 0>(_IO_FILE*, fmt::v7::text_style const&, char const* const&, int const&, double const&, int const&, unsigned long const&)
void print(std::FILE* f, const text_style& ts, const S& format_str, const Args&... args) { vprint(f, ts, format_str, fmt::make_args_checked<Args...>(format_str, args...)); }
subq $0x48, %rsp movq 0x50(%rsp), %rax movl (%rcx), %ecx movq (%r8), %r10 movl (%r9), %r9d movq %rsp, %r8 movq (%rax), %rax movq %rcx, (%r8) movl $0x41a1, %ecx # imm = 0x41A1 movq %r10, 0x10(%r8) movq %r9, 0x20(%r8) movq %rax, 0x30(%r8) callq 0xf1e7 addq $0x48, %rsp retq
/quesnel[P]baryonyx/external/fmt/include/fmt/color.h
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, baryonyx::pnm_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, st...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3a8, %rsp # imm = 0x3A8 vmovsd %xmm0, 0x58(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x18(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, baryonyx::none_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, s...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x168, %rsp # imm = 0x168 vmovsd %xmm0, 0x58(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x18(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, baryonyx::pnm_observer>::is_timelimit_reached()
bool is_timelimit_reached() { m_end = std::chrono::steady_clock::now(); return is_time_limit(m_ctx.parameters.time_limit, m_begin, m_end); }
pushq %rbx movq %rdi, %rbx callq 0x9540 movq %rax, 0x8(%rbx) vxorpd %xmm2, %xmm2, %xmm2 movq 0x10(%rbx), %rcx subq (%rbx), %rax vmovsd (%rcx), %xmm0 vcvtsi2sd %rax, %xmm1, %xmm1 vdivsd 0x4147d9(%rip), %xmm1, %xmm1 # 0x44c8c0 vcmpnlepd %xmm2, %xmm0, %k1 vcmpltpd %xmm1, %xmm0, %k0 {%k1} kmovd %k0, %eax andb $0x1, %al pop...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::pnm_array::pnm_array(unsigned int, unsigned int)
pnm_array(unsigned int m, unsigned int n) : m_width(n) , m_heigth(m) { if (m_width * m_heigth > 0) m_buffer = std::make_unique<std::uint8_t[]>(size()); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp andq $0x0, (%rdi) movl %edx, 0x8(%rdi) imull %esi, %edx movl %esi, 0xc(%rdi) testl %edx, %edx je 0x38735 leal (%rdx,%rdx,2), %r14d movq %rdi, %rbx movq %r14, %rdi callq 0x9290 movq %rax, %r15 movq %rax, %rdi xorl %esi, %esi movq %r14, %rdx callq 0x9180 leaq 0x8(%rsp), %...
/quesnel[P]baryonyx/lib/src/pnm.hpp
void baryonyx::details::pi_file_observer::make_observation<float>(baryonyx::sparse_matrix<int> const&, float const*, float const*)
void make_observation(const sparse_matrix<int>& /*ap*/, const Float* /*P*/, const Float* pi) { static_assert(std::is_floating_point<Float>::value); if (m_ofs) { if (m_len > 1) { m_ofs << pi[0]; for (int...
movq 0x8(%rdi), %rax movq -0x18(%rax), %rax testb $0x5, 0x28(%rdi,%rax) je 0x38c8c retq pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx vmovss (%rcx), %xmm0 movl 0x4(%rdi), %ebp leaq 0x8(%rdi), %r15 movq %rdi, %r14 movq %rcx, %rbx movq %r15, %rdi callq 0x9610 cmpl $0x2, %ebp jl 0x38cde pushq $0x1 popq %r12 pushq...
/quesnel[P]baryonyx/lib/src/observer.hpp
baryonyx::itm::quadratic_cost_type<float> baryonyx::itm::normalize_costs<float, baryonyx::itm::quadratic_cost_type<float>>(baryonyx::context const&, baryonyx::itm::quadratic_cost_type<float> const&, std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int)
inline Cost normalize_costs(const context& ctx, const Cost& c, random_engine& rng, int n) { Cost ret(c, n); switch (ctx.parameters.cost_norm) { case solver_parameters::cost_norm_type::none: info(ctx, " - No norm"); return ret; case solver_parameters::cost_norm_type::random: in...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdx, %rsi movl %r8d, %edx movl %r8d, %ebp movq %rcx, %r15 movq %rdi, %rbx callq 0x3ca96 movl 0xd8(%r14), %eax cmpq $0x3, %rax ja 0x3c103 leaq 0x41094b(%rip), %rcx # 0x44c9e0 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x410fa...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>>::solver_random_inequalities_101coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::quadratic_cost_type<float> const&, std::vector<bary...
solver_random_inequalities_101coeff( random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : rng(rng_) , ap(csts, m_, n_) , A(std::make_unique<int[]>(ap.size())) , R(std::make_unique<rc_data[]>(compute_reduced_costs_ve...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp leaq 0x8(%rdi), %r13 movq %rsi, (%rdi) movq %rdi, %r15 movq %r9, %r12 movq %r8, 0x20(%rsp) movl %edx, %r14d movq %r9, %rsi movl %ecx, 0x4(%rsp) movq %r13, %rdi callq 0x2f90c movl 0x30(%r15), %esi leaq 0x48(%r15), %rbx movq %rbx, %rdi mov...
/quesnel[P]baryonyx/lib/src/random-solver.cpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>...
void init(const Solver& s, const Xtype& x) { switch (order) { case solver_parameters::constraint_order::infeasibility_decr: case solver_parameters::constraint_order::infeasibility_incr: infeasibility_local_compute_violated_constraints(s, x); break; case solver...
movl 0x30(%rdi), %ecx movq %rdi, %rax leal -0x3(%rcx), %edi cmpl $0x2, %edi jae 0x3c4f4 movq %rax, %rdi jmp 0x3df70 cmpl $0x7, %ecx jne 0x3c511 movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x3c51f movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x3c502 movq %rsi, %rdi movq %rdx, %rsi movq %...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::best_solution_recorder<baryonyx::itm::quadratic_cost_type<float>, float, baryonyx::itm::maximize_tag>::try_update(baryonyx::itm::local_context&, baryonyx::bit_array const&, double, long)
void try_update(local_context& ctx, const bit_array& solution, const double value, const long int loop) { auto hash = bit_array_hash()(solution); if (m_storage.can_be_inserted(hash, value)) { const auto end = std::chrono::stead...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r13 leaq 0xf(%rsp), %rdi movq %rsi, %r15 movq %rdx, %rsi movq %rcx, %rbx vmovsd %xmm0, 0x10(%rsp) movq %rdx, %r14 callq 0x299d0 vmovsd 0x10(%rsp), %xmm0 leaq 0x8(%r13), %rbp movq %rax, %r12 movq %rax, %rsi movq %rbp, %rdi cal...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::quadratic_cost_type<float>::min(int) const
Float min(int n) const noexcept { Float min = std::numeric_limits<Float>::max(); for (int i = 0; i != n; ++i) if (linear_elements[i]) min = std::min(min, std::abs(linear_elements[i])); for (int i = 0, e = indices[n]; i != e; ++i) if (quadratic_elemen...
vmovss 0x40ef4a(%rip), %xmm0 # 0x44c91c vbroadcastss 0x40ef3d(%rip), %xmm1 # 0x44c918 movq 0x8(%rdi), %rax vxorps %xmm2, %xmm2, %xmm2 movl %esi, %ecx xorl %edx, %edx cmpq %rdx, %rcx je 0x3da12 vmovss (%rax,%rdx,4), %xmm3 incq %rdx vandps %xmm1, %xmm3, %xmm4 vcmpneqps %xmm2, %xmm3, %k1 vcmpltps %xmm0, %xmm4, %k0 kandw...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::is_valid_constraint<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>...
bool is_valid_constraint(const Solver& slv, int k, const Xtype& x) { typename sparse_matrix<int>::const_row_iterator it, et; std::tie(it, et) = slv.ap.row(k); int v = 0; for (; it != et; ++it) v += slv.factor(it->value) * x[it->column]; return slv.bound_min(k) <= v && v <= slv.bound_max(k...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r14 movl %esi, %edx leaq 0x8(%rdi), %rsi leaq 0x8(%rsp), %r15 movq %rdi, %rbx movl %edx, 0x4(%rsp) movq %r15, %rdi callq 0x31caa movq (%r15), %r12 movq 0x8(%r15), %r13 xorl %r15d, %r15d cmpq %r12, %r13 je 0x3e13a movslq (%r13...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>>::compute_update_row<baryonyx::bit_array, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>(baryonyx::bit_array&, __gnu_cxx::__normal_iterator<int*, std::vector<...
bool compute_update_row(Xtype& x, Iterator first, Iterator last, Float kappa, Float delta, Float theta) { for (; first != last; ++first) { auto k = constrai...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp vmovss %xmm1, 0xc(%rsp) vmovss 0x40e321(%rip), %xmm1 # 0x44c914 leaq 0x8(%rdi), %r15 vmovss %xmm2, 0x3c(%rsp) movq %rcx, 0x58(%rsp) movq %rsi, %r13 movq %rdi, %r12 movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %r15, 0x50(%rsp) vsubs...
/quesnel[P]baryonyx/lib/src/random-solver.cpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag...
int infeasibility_local_compute_violated_constraints(Solver& solver, const Xtype& x) { m_order.clear(); for (int k = 0, e = solver.m; k != e; ++k) { sparse_matrix<int>::const_row_iterator it, et; std::tie(it, et) = sol...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq 0x18(%rdi), %rax movq %rdx, %r14 movq %rsi, %r15 cmpq %rax, 0x20(%rdi) je 0x3eeb6 movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x8(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax m...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<float>, baryonyx::itm::maximize_tag>::insert(baryonyx::itm::local_context&, baryonyx::bit_array const&, unsigned long, double, double, long)
void insert(local_context& ctx, const bit_array& x, const std::size_t hash, const double value, const double duration, const long int loop) noexcept { to_log(stdout, 5u, "- insert solution {} (hash:...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq 0x5e9fc8(%rip), %r12 # 0x62afc0 movq %rdi, %rbx leaq 0x20(%rsp), %r9 leaq 0x18(%rsp), %rax leaq 0x10(%rsp), %r10 leaq 0x8(%rsp), %r11 movq %rdx, %r14 movq %rsi, %r15 movq %rcx, (%r9) vmovsd %xmm0, (%rax) vmovsd %xmm1, (%r10) movq %r8, (%r11) movq (%r1...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<float>, baryonyx::itm::maximize_tag>::insert(baryonyx::itm::local_context&, baryonyx::bit_array const&, unsigned long, int, double, long)
void insert(local_context& ctx, const bit_array& x, const std::size_t hash, const int remaining_constraints, const double duration, const long int loop) noexcept { to_log(stdout, 5u, "- insert advan...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq 0x5e9ddb(%rip), %r12 # 0x62afc0 movq %rdi, %rbx leaq 0x20(%rsp), %rax leaq 0xc(%rsp), %r10 leaq 0x18(%rsp), %r11 leaq 0x10(%rsp), %r13 movq %rdx, %r14 movq %rsi, %r15 movq %rcx, (%rax) movl %r8d, (%r10) vmovsd %xmm0, (%r11) movq ...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<float>, baryonyx::itm::maximize_tag>::show_population(baryonyx::context const&) const
void show_population(const context& ctx) const { info(ctx, " Population {}:\n", m_indices.size()); for (int i = 0; i != m_size; ++i) info(ctx, " - {}: value {} constraints {} hash {}\n", m_indices[i], m_data[m_indices[i]].value, ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq 0x40(%rdi), %rax movq %rsi, %rbx leaq 0x8(%rsp), %rdx leaq 0x40ae07(%rip), %rsi # 0x44d4a3 movq %rdi, %r14 subq 0x38(%rdi), %rax movq %rbx, %rdi sarq $0x2, %rax movq %rax, (%rdx) callq 0x36987 leaq 0x40adfb(%rip), %r15 # 0x44d4b4 xorl %r...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>>, float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, baryonyx::file_observer>::operator()(std::vector<baryonyx::itm::merged_constrain...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3b8, %rsp # imm = 0x3B8 vmovsd %xmm0, 0x58(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x18(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::result baryonyx::itm::optimize_problem<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<float>>, float, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<float>>(baryonyx::context const&, baryonyx::problem const&)
inline result optimize_problem(const context& ctx, const problem& pb) { result r; if (ctx.start) ctx.start(ctx.parameters); auto constraints{ make_merged_constraints(ctx, pb) }; if (constraints.empty() || pb.vars.values.empty()) { r.status = result_status::success; r.solutions....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) movq $0x7fffffff, 0x98(%rdi) # imm = 0x7FFFFFFF movl $0x2, 0xa...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<float>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<fl...
int compute_violated_constraints(const Solver& slv, const Xtype& x, std::vector<int>& out) { out.clear(); for (int k = 0; k != slv.m; ++k) if (!is_valid_constraint(slv, k, x)) out.emplace_back(k); return length(out); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq (%rdx), %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 cmpq %rax, 0x8(%rdx) je 0x47b64 movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x80(%r15), %esi je 0x47b9a movq %r15, %rdi movq %r14, %rdx callq 0x47bb1 testb %al...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_random_inequalities_101coeff<float, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<float>>::compute_update_row<baryonyx::bit_array, __gnu_cxx::__normal_iterator<std::pair<int, int> const*, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int>>>>>(baryonyx::bit_arr...
bool compute_update_row(Xtype& x, Iterator first, Iterator last, Float kappa, Float delta, Float theta) { for (; first != last; ++first) { auto k = constrai...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp vmovss %xmm1, 0xc(%rsp) vmovss 0x4043fb(%rip), %xmm1 # 0x44c914 leaq 0x8(%rdi), %r14 leaq 0x50(%rsp), %r15 movq %rdi, %r12 vmovss %xmm2, 0x3c(%rsp) movq %rcx, 0x68(%rsp) movq %rsi, 0x10(%rsp) movq %rdi, 0x18(%rsp) movq %r14, 0x60(%rsp)...
/quesnel[P]baryonyx/lib/src/random-solver.cpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<float>, baryonyx::itm::minimize_tag>::insert(baryonyx::itm::local_context&, baryonyx::bit_array const&, unsigned long, int, double, long)
void insert(local_context& ctx, const bit_array& x, const std::size_t hash, const int remaining_constraints, const double duration, const long int loop) noexcept { to_log(stdout, 5u, "- insert advan...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq 0x5e036f(%rip), %r12 # 0x62afc0 movq %rdi, %rbx leaq 0x20(%rsp), %rax leaq 0xc(%rsp), %r10 leaq 0x18(%rsp), %r11 leaq 0x10(%rsp), %r13 movq %rdx, %r14 movq %rsi, %r15 movq %rcx, (%rax) movl %r8d, (%r10) vmovsd %xmm0, (%r11) movq ...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::none_observer>::operator()(std::vector<baryonyx::itm::merged_const...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x178, %rsp # imm = 0x178 vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x8(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) m...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::pnm_observer>::store_if_better(baryonyx::bit_array const&, double,...
inline bool is_better_solution(Float lhs, Float rhs) noexcept { if constexpr (std::is_same_v<Mode, minimize_tag>) return lhs < rhs; else return lhs > rhs; }
vucomisd 0x30(%rdi), %xmm0 jbe 0x6ca14 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x6ca8e vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r14) addq $0x8, %rsp pop...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::pnm_observer>::is_timelimit_reached()
bool is_timelimit_reached() { m_end = std::chrono::steady_clock::now(); return is_time_limit(m_ctx.parameters.time_limit, m_begin, m_end); }
pushq %rbx movq %rdi, %rbx callq 0x9540 movq %rax, 0x8(%rbx) vxorpd %xmm2, %xmm2, %xmm2 movq 0x10(%rbx), %rcx subq (%rbx), %rax vmovsd (%rcx), %xmm0 vcvtsi2sd %rax, %xmm1, %xmm1 vdivsd 0x3dfe49(%rip), %xmm1, %xmm1 # 0x44c8c0 vcmpnlepd %xmm2, %xmm0, %k1 vcmpltpd %xmm1, %xmm0, %k0 {%k1} kmovd %k0, %eax andb $0x1, %al pop...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::file_observer>::store_if_better(baryonyx::bit_array const&, double...
inline bool is_better_solution(Float lhs, Float rhs) noexcept { if constexpr (std::is_same_v<Mode, minimize_tag>) return lhs < rhs; else return lhs > rhs; }
vucomisd 0x30(%rdi), %xmm0 jbe 0x6caf6 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x6cb70 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r14) addq $0x8, %rsp pop...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::file_observer>::is_timelimit_reached()
bool is_timelimit_reached() { m_end = std::chrono::steady_clock::now(); return is_time_limit(m_ctx.parameters.time_limit, m_begin, m_end); }
pushq %rbx movq %rdi, %rbx callq 0x9540 movq %rax, 0x8(%rbx) vxorpd %xmm2, %xmm2, %xmm2 movq 0x10(%rbx), %rcx subq (%rbx), %rax vmovsd (%rcx), %xmm0 vcvtsi2sd %rax, %xmm1, %xmm1 vdivsd 0x3dfd67(%rip), %xmm1, %xmm1 # 0x44c8c0 vcmpnlepd %xmm2, %xmm0, %k1 vcmpltpd %xmm1, %xmm0, %k0 {%k1} kmovd %k0, %eax andb $0x1, %al pop...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::result baryonyx::itm::optimize_problem<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<double>>, double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<double>>(baryonyx::context const&, baryonyx::problem const&)
inline result optimize_problem(const context& ctx, const problem& pb) { result r; if (ctx.start) ctx.start(ctx.parameters); auto constraints{ make_merged_constraints(ctx, pb) }; if (constraints.empty() || pb.vars.values.empty()) { r.status = result_status::success; r.solutions....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) movq $0x7fffffff, 0x98(%rdi) # imm = 0x7FFFFFFF movl $0x2, 0xa...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::result baryonyx::itm::solve_problem<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<double>>, double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<double>>(baryonyx::context const&, baryonyx::problem const&)
inline result solve_problem(const context& ctx, const problem& pb) { if (ctx.start) ctx.start(ctx.parameters); result ret; auto variables = length(pb.vars.values); auto constraints{ make_merged_constraints(ctx, pb) }; if (!constraints.empty() && !pb.vars.values.empty()) { random_e...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x130, %rsp # imm = 0x130 cmpq $0x0, 0x128(%rsi) movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx je 0x6d300 leaq 0x118(%r14), %rdi movq %r14, %rsi callq 0x274f4 vxorps %xmm0, %xmm0, %xmm0 vmovups %zmm0, 0x58(%rbx) vmovups %zmm0, 0x40(%rbx) vmovups ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<double>, baryonyx::itm::minimize_tag>::storage(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, baryonyx::itm::default_cost_type<double> const&, double, int, int, std::vector<baryonyx::itm::merged_constraint, std::allocator<baryonyx::it...
storage(random_engine& rng, const Cost& costs_, const double cost_constant_, const int population_size, const int variables, const std::vector<merged_constraint>& constraints_) : m_indices(population_size) , m_data(population_size) , m_baster...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, 0x18(%rsp) movq %rdi, %r15 movslq %ecx, %r12 leaq 0x58(%rsp), %rdx movq %rsi, %r13 movq %r9, 0x28(%rsp) movl %r8d, %ebp movl %ecx, %ebx vmovupd %ymm0, 0x18(%rdi) vmovupd %ymm...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::best_solution_recorder<baryonyx::itm::default_cost_type<double>, double, baryonyx::itm::minimize_tag>::try_update(baryonyx::itm::local_context&, baryonyx::bit_array const&, double, long)
void try_update(local_context& ctx, const bit_array& solution, const double value, const long int loop) { auto hash = bit_array_hash()(solution); if (m_storage.can_be_inserted(hash, value)) { const auto end = std::chrono::stead...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r13 leaq 0xf(%rsp), %rdi movq %rsi, %r15 movq %rdx, %rsi movq %rcx, %rbx vmovsd %xmm0, 0x10(%rsp) movq %rdx, %r14 callq 0x299d0 vmovsd 0x10(%rsp), %xmm0 leaq 0x8(%r13), %rbp movq %rax, %r12 movq %rax, %rsi movq %rbp, %rdi cal...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::best_solution_recorder<baryonyx::itm::default_cost_type<double>, double, baryonyx::itm::minimize_tag>::try_advance(baryonyx::itm::local_context&, baryonyx::bit_array const&, int, long)
void try_advance(local_context& ctx, const bit_array& solution, const int remaining_constraints, const long int loop) { auto hash = bit_array_hash()(solution); if (m_storage.can_be_inserted(hash, remaining_constraints)) { co...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r13 leaq 0xf(%rsp), %rdi movq %rsi, %r15 movq %rdx, %rsi movq %r8, 0x10(%rsp) movl %ecx, %ebp movq %rdx, %r14 callq 0x299d0 leaq 0x8(%r13), %rbx movq %rax, %r12 movq %rax, %rsi movl %ebp, %edx movq %rbx, %rdi callq 0x7370a te...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::best_solution_recorder<baryonyx::itm::default_cost_type<double>, double, baryonyx::itm::minimize_tag>::mutation(baryonyx::itm::local_context&, baryonyx::bit_array&)
void mutation(local_context& ctx, bit_array& x) { if (ctx.value_p_dist.mean() == 0.0 && ctx.value_p_dist.stddev() == 0.0) return; double val_p, var_p; do var_p = ctx.variable_p_dist(ctx.rng); while (var_p <= 0.0 || var_p >= 1.0); do val_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp vmovsd 0x48(%rsi), %xmm0 vxorpd %xmm1, %xmm1, %xmm1 movq %rdx, %rbx movq %rsi, %r14 vucomisd %xmm1, %xmm0 jne 0x70234 jp 0x70234 vmovsd 0x50(%r14), %xmm0 vucomisd %xmm1, %xmm0 jne 0x70234 jp 0x70234 addq $0x28, %rsp popq %rbx popq %r12 p...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<double>, baryonyx::itm::minimize_tag>::crossover(baryonyx::itm::local_context&, baryonyx::bit_array&)
void crossover(local_context& ctx, bit_array& x) { m_indices_reader lock(m_indices_mutex); if (ctx.crossover_bastert_insertion(ctx.rng)) { int first = m_indices[choose_a_solution(ctx)]; std::bernoulli_distribution b(0.5); if (b(ctx.rng)) { if (b(...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, 0x10(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movb $0x1, 0x18(%rsp) callq 0x318a2 leaq 0x80(%r15), %rdi movq %r15, %rsi callq 0x284ca testb %al, %al je 0x70401 movq %rbx, %rdi movq %r15, %rsi callq 0x70580 movq 0x38(%rbx), %...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<double>, baryonyx::itm::minimize_tag>::crossover(baryonyx::itm::local_context&, baryonyx::bit_array&, baryonyx::bit_array const&, baryonyx::bit_array const&)
void crossover(local_context& ctx, bit_array& x, const bit_array& first, const bit_array& second) { const auto block_size = x.block_size(); for (int i = 0; i != block_size; ++i) { const auto x1 = first.block(i); const a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl 0x4(%rdx), %r15d leaq 0x70(%rsi), %r13 movq %r8, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %rsi, %r12 xorl %ebp, %ebp movq %rdx, (%rsp) cmpq %rbp, %r15 je 0x70637 movq 0x8(%rsp), %rdi movl %ebp, %esi callq 0x29a26 movq 0x10(%rsp), %rdi m...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::result baryonyx::itm::solve_problem<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>(baryonyx::context const&, baryonyx::problem const&)
inline result solve_problem(const context& ctx, const problem& pb) { if (ctx.start) ctx.start(ctx.parameters); result ret; auto variables = length(pb.vars.values); auto constraints{ make_merged_constraints(ctx, pb) }; if (!constraints.empty() && !pb.vars.values.empty()) { random_e...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x140, %rsp # imm = 0x140 cmpq $0x0, 0x128(%rsi) movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx je 0x768f2 leaq 0x118(%r14), %rdi movq %r14, %rsi callq 0x274f4 vxorps %xmm0, %xmm0, %xmm0 vmovups %zmm0, 0x58(%rbx) vmovups %zmm0, 0x40(%rbx) vmovups ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<double>, baryonyx::itm::minimize_tag>::storage(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, baryonyx::itm::quadratic_cost_type<double> const&, double, int, int, std::vector<baryonyx::itm::merged_constraint, std::allocator<baryonyx...
storage(random_engine& rng, const Cost& costs_, const double cost_constant_, const int population_size, const int variables, const std::vector<merged_constraint>& constraints_) : m_indices(population_size) , m_data(population_size) , m_baster...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, 0x18(%rsp) movq %rdi, %r15 movslq %ecx, %r12 leaq 0x58(%rsp), %rdx movq %rsi, %r13 movq %r9, 0x28(%rsp) movl %r8d, %ebp movl %ecx, %ebx vmovupd %ymm0, 0x18(%rdi) vmovupd %ymm...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
int baryonyx::itm::compute_order::push_and_run<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>, baryonyx::bit_array, double>(baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadrati...
int push_and_run(Solver& solver, Xtype& x, random_engine& rng, Float kappa, Float delta, Float theta, Float objective_amplifier) { bool pi_changed = 0; int remaining = 0; ...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movl 0x30(%rdi), %eax cmpb $0x1, 0x34(%rdi) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 jne 0x794fa xorl %esi, %esi leal 0x1(%rax), %edx cmpl $0x7, %eax cmovll %edx, %esi movl %esi, %eax movl %esi, 0x30(%r14) decl %eax cmpl $0x6, %eax ja 0x7966b leaq 0x3d3670(%rip),...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<double>, baryonyx::itm::minimize_tag>::crossover(baryonyx::itm::local_context&, baryonyx::bit_array&, baryonyx::bit_array const&, baryonyx::bit_array const&)
void crossover(local_context& ctx, bit_array& x, const bit_array& first, const bit_array& second) { const auto block_size = x.block_size(); for (int i = 0; i != block_size; ++i) { const auto x1 = first.block(i); const a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl 0x4(%rdx), %r15d leaq 0x70(%rsi), %r13 movq %r8, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %rsi, %r12 xorl %ebp, %ebp movq %rdx, (%rsp) cmpq %rbp, %r15 je 0x79c41 movq 0x8(%rsp), %rdi movl %ebp, %esi callq 0x29a26 movq 0x10(%rsp), %rdi m...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
bool baryonyx::itm::is_valid_constraint<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<dou...
bool is_valid_constraint(const Solver& slv, int k, const Xtype& x) { typename sparse_matrix<int>::const_row_iterator it, et; std::tie(it, et) = slv.ap.row(k); int v = 0; for (; it != et; ++it) v += slv.factor(it->value) * x[it->column]; return slv.bound_min(k) <= v && v <= slv.bound_max(k...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r14 movl %esi, %edx leaq 0x8(%rdi), %rsi leaq 0x8(%rsp), %r15 movq %rdi, %rbx movl %edx, 0x4(%rsp) movq %r15, %rdi callq 0x31caa movq (%r15), %r12 movq 0x8(%r15), %r13 xorl %r15d, %r15d cmpq %r12, %r13 je 0x79e1a movslq (%r13...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
void baryonyx::itm::random_shuffle_unique<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>::rc_data*>(baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>::rc...
inline void random_shuffle_unique(iteratorT begin, iteratorT end, random_engine& rng) noexcept { auto ret = begin++; for (; begin != end; ++begin) { if (ret->value != begin->value) { std::shuffle(ret, begin, rng); ret = begin; }...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 leaq 0x10(%rdi), %rsi cmpq %r14, %rsi je 0x7b1e1 vmovsd (%rdi), %xmm0 leaq 0x10(%rsi), %r15 vucomisd (%rsi), %xmm0 movq %r15, %rsi jne 0x7b1cd jnp 0x7b1b5 addq $-0x10, %r15 movq %r15, %rsi movq %rbx, %rdx callq 0x7b702 movq %r15, %rdi jmp 0x7b1b1 movq %rb...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<double>, baryonyx::itm::minimize_tag>::insert(baryonyx::itm::local_context&, baryonyx::bit_array const&, unsigned long, double, double, long)
void insert(local_context& ctx, const bit_array& x, const std::size_t hash, const double value, const double duration, const long int loop) noexcept { to_log(stdout, 5u, "- insert solution {} (hash:...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq 0x5ae3e8(%rip), %r12 # 0x62afc0 movq %rdi, %rbx leaq 0x20(%rsp), %r9 leaq 0x18(%rsp), %rax leaq 0x10(%rsp), %r10 leaq 0x8(%rsp), %r11 movq %rdx, %r14 movq %rsi, %r15 movq %rcx, (%r9) vmovsd %xmm0, (%rax) vmovsd %xmm1, (%r10) movq %r8, (%r11) movq (%r1...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<double>, baryonyx::itm::minimize_tag>::replace_result(int, baryonyx::bit_array const&, double, double, unsigned long, long, int)
void replace_result(const int id, const bit_array& x, const double value, const double duration, const std::size_t hash, const long int loop, const int remaining_constraints) n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, 0x18(%rsp) movl %r9d, %ebx movq %r8, %r14 movq %rcx, %r15 vmovsd %xmm1, 0x10(%rsp) vmovsd %xmm0, 0x8(%rsp) movq %rdx, %r13 movl %esi, %ebp movq %rdi, %r12 movb $0x1, 0x20(%rsp) callq 0x318a2 movq 0x50(%r12), %rdi movslq %ebp, ...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<double>, baryonyx::itm::minimize_tag>::can_be_inserted(unsigned long, int) const
bool can_be_inserted(const std::size_t hash, const int constraints) const noexcept { m_indices_reader lock(m_indices_mutex); for (int i = 0; i != m_size; ++i) if (m_data[i].remaining_constraints == constraints && m_data[i].hash == hash) return false...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, (%rsp) movl %edx, %ebx movq %rsi, %r14 movq %rdi, %r15 movb $0x1, 0x8(%rsp) callq 0x318a2 movl 0x98(%r15), %eax movq 0x50(%r15), %rcx xorl %edx, %edx imulq $0x38, %rax, %rax cmpq %rdx, %rax je 0x7cd8e cmpl %ebx, 0x30(%rcx,%rdx) jne 0x7cd88 cmpq %r14, 0x20(%rc...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::quadratic_cost_type<double>, baryonyx::itm::minimize_tag>::insert(baryonyx::itm::local_context&, baryonyx::bit_array const&, unsigned long, int, double, long)
void insert(local_context& ctx, const bit_array& x, const std::size_t hash, const int remaining_constraints, const double duration, const long int loop) noexcept { to_log(stdout, 5u, "- insert advan...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq 0x5ae1fb(%rip), %r12 # 0x62afc0 movq %rdi, %rbx leaq 0x20(%rsp), %rax leaq 0xc(%rsp), %r10 leaq 0x18(%rsp), %r11 leaq 0x10(%rsp), %r13 movq %rdx, %r14 movq %rsi, %r15 movq %rcx, (%rax) movl %r8d, (%r10) vmovsd %xmm0, (%r11) movq ...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::pnm_observer>::operator()(std::vector<baryonyx::itm::merged_constr...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3b8, %rsp # imm = 0x3B8 vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x8(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) m...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::file_observer>::operator()(std::vector<baryonyx::itm::merged_const...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3b8, %rsp # imm = 0x3B8 vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x8(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) m...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_random_inequalities_101coeff<double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>>, double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<double>, baryonyx::none_observer>::operator()(std::vector<baryonyx::itm::merged_const...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x178, %rsp # imm = 0x178 vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x8(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) m...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::result baryonyx::itm::optimize_problem<baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>(baryonyx::context const&, baryonyx::probl...
inline result optimize_problem(const context& ctx, const problem& pb) { result r; if (ctx.start) ctx.start(ctx.parameters); auto constraints{ make_merged_constraints(ctx, pb) }; if (constraints.empty() || pb.vars.values.empty()) { r.status = result_status::success; r.solutions....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) movq $0x7fffffff, 0x98(%rdi) # imm = 0x7FFFFFFF movl $0x2, 0xa...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::storage<baryonyx::itm::default_cost_type<long double>, baryonyx::itm::maximize_tag>::storage(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, baryonyx::itm::default_cost_type<long double> const&, double, int, int, std::vector<baryonyx::itm::merged_constraint, std::allocator<ba...
storage(random_engine& rng, const Cost& costs_, const double cost_constant_, const int population_size, const int variables, const std::vector<merged_constraint>& constraints_) : m_indices(population_size) , m_data(population_size) , m_baster...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp vmovsd %xmm0, 0x40(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, 0x18(%rsp) movq %rdi, %r15 movslq %ecx, %r12 leaq 0x58(%rsp), %rdx movq %rsi, %r13 movq %r9, 0x28(%rsp) movl %r8d, %ebp movl %ecx, %ebx vmovupd %ymm0, 0x18(%rdi) vmovupd %ymm...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void baryonyx::itm::init_with_bastert<baryonyx::itm::default_cost_type<long double>, baryonyx::itm::maximize_tag>(baryonyx::bit_array&, baryonyx::itm::default_cost_type<long double> const&, int, int)
void init_with_bastert(bit_array& x, const Cost& c, const int variables, const int value_if_0) noexcept { for (int i = 0; i != variables; ++i) if (init_x<Mode>(c[i], value_if_0)) x.set(i); else x.unset(i); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %edx, %r13d shlq $0x4, %r13 movl %ecx, %ebx movq %rsi, %r14 movq %rdi, %r15 xorl %r12d, %r12d xorl %ebp, %ebp cmpq %rbp, %r13 je 0x808e4 movq 0x8(%r14), %rcx testl %ebx, %ebx setne %al fldt (%rcx,%rbp) fldz fucomi %st(1), %st fxch %st(1) ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::default_cost_type<long double>::results(baryonyx::bit_array const&, double) const
double results(const bit_array& x, double cost_constant) const noexcept { for (int i = 0, e = length(obj.elements); i != e; ++i) if (x[obj.elements[i].variable_index]) cost_constant += obj.elements[i].factor; return cost_constant; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq (%rdi), %rax movabsq $0xffffffff0, %r15 # imm = 0xFFFFFFFF0 vmovsd %xmm0, (%rsp) movq %rsi, %rbx movq %rdi, %r14 xorl %r12d, %r12d movq 0x8(%rax), %rcx subq (%rax), %rcx andq %rcx, %r15 cmpq %r12, %r15 je 0x80c0b movq (%r14), %rax movq %rbx, %rdi movq (%r...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::optimize_functor<baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>::operator()(std::atomic<bool> const&, baryonyx::itm::best_...
void operator()(const std::atomic_bool& stop_task, best_solution_recorder<Cost, Float, Mode>& best_recorder, const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_const...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1e8, %rsp # imm = 0x1E8 movq %rdi, %rbp leaq 0x58(%rsp), %rdi movq %rsi, %r15 movl %r8d, %esi vmovsd %xmm0, 0x88(%rsp) movq %r9, %r12 movl %r8d, %ebx movq %rcx, %r14 movq %rdx, 0x68(%rsp) callq 0x28b24 movq (%rbp), %r13 movq %rbp, 0xb0...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_co...
void init(const Solver& s, const Xtype& x) { switch (order) { case solver_parameters::constraint_order::infeasibility_decr: case solver_parameters::constraint_order::infeasibility_incr: infeasibility_local_compute_violated_constraints(s, x); break; case solver...
movl 0x30(%rdi), %ecx movq %rdi, %rax leal -0x3(%rcx), %edi cmpl $0x2, %edi jae 0x82b12 movq %rax, %rdi jmp 0x8487c cmpl $0x7, %ecx jne 0x82b2f movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x82b3d movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x82b20 movq %rsi, %rdi movq %rdx, %rsi movq %...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>, baryonyx::bit_array, long double>(baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm:...
int run(Solver& solver, Xtype& x, random_engine& rng, Float kappa, Float delta, Float theta) { bool pi_changed = false; int remaining = 0; switch (order) { case solver_parameters::constraint_order::reversing: so...
pushq %r15 pushq %r14 pushq %rbx subq $0x70, %rsp fldt 0xb0(%rsp) fldt 0xa0(%rsp) fldt 0x90(%rsp) movl 0x30(%rdi), %eax movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 decl %eax cmpl $0x6, %eax ja 0x82c5f leaq 0x3ca02e(%rip), %rdx # 0x44cba8 movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax movq 0x8(%r14), %rax ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>>, baryonyx::bit_array>(baryonyx::itm::solver_random_inequalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::de...
int compute_violated_constraints(const Solver& slv, const Xtype& x, std::vector<int>& out) { out.clear(); for (int k = 0; k != slv.m; ++k) if (!is_valid_constraint(slv, k, x)) out.emplace_back(k); return length(out); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq (%rdx), %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 cmpq %rax, 0x8(%rdx) je 0x99ee6 movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x80(%r15), %esi je 0x99f1c movq %r15, %rdi movq %r14, %rdx callq 0x99f33 testb %al...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
is_best(baryonyx::context const&, baryonyx::result const&, baryonyx::result const&, baryonyx::objective_function_type)
static bool is_best(const baryonyx::context& ctx, const baryonyx::result& current, const baryonyx::result& best, baryonyx::objective_function_type type) { if (is_best(current, best, type)) { if (current) baryonyx::notice(ctx, " - branch optim...
pushq %rax movq %rdx, %rax movq %rsi, %rdx cmpl $0x0, 0xa0(%rsi) movl 0xa0(%rax), %esi je 0xa9fc0 testl %esi, %esi je 0xaa000 movl 0x94(%rdx), %ecx cmpl 0x94(%rax), %ecx jge 0xaa000 addq $0x98, %rdx leaq 0x3a491a(%rip), %rsi # 0x44e8d3 callq 0xaa501 jmp 0xa9fd8 testl %esi, %esi je 0xa9fdc movq 0x68(%rdx), %rdx addq ...
/quesnel[P]baryonyx/lib/src/branch-optimizer.cpp
node_result_compare::operator()(node const&, node const&) const
bool operator()(const node& lhs, const node& rhs) const { if (lhs.remaining_constraints == 0) { if (rhs.remaining_constraints == 0) { return lhs.problem.type == baryonyx::objective_function_type::maximize ? lhs.solution > rhs.so...
movl 0x100(%rsi), %eax movl 0x100(%rdx), %ecx testl %eax, %eax je 0xaa48b testl %ecx, %ecx setne %dl cmpl %ecx, %eax setl %al andb %dl, %al retq movb $0x1, %al testl %ecx, %ecx je 0xaa492 retq vmovsd 0xf8(%rsi), %xmm0 vmovsd 0xf8(%rdx), %xmm1 cmpl $0x0, 0xf0(%rsi) je 0xaa4b1 vucomisd %xmm0, %xmm1 jmp 0xaa4b5 vucomisd %...
/quesnel[P]baryonyx/lib/src/branch-optimizer.cpp
void fmt::v7::print<char const*, double, int, unsigned long, unsigned long, 0>(_IO_FILE*, fmt::v7::text_style const&, char const* const&, double const&, int const&, unsigned long const&, unsigned long const&)
void print(std::FILE* f, const text_style& ts, const S& format_str, const Args&... args) { vprint(f, ts, format_str, fmt::make_args_checked<Args...>(format_str, args...)); }
subq $0x48, %rsp movq 0x50(%rsp), %rax movq (%rcx), %rcx movl (%r8), %r10d movq (%r9), %r9 movq %rsp, %r8 movq (%rax), %rax movq %rcx, (%r8) movl $0x441a, %ecx # imm = 0x441A movq %r10, 0x10(%r8) movq %r9, 0x20(%r8) movq %rax, 0x30(%r8) callq 0xf1e7 addq $0x48, %rsp retq
/quesnel[P]baryonyx/external/fmt/include/fmt/color.h
void fmt::v7::print<char const*, int, int, unsigned long, unsigned long, 0>(_IO_FILE*, fmt::v7::text_style const&, char const* const&, int const&, int const&, unsigned long const&, unsigned long const&)
void print(std::FILE* f, const text_style& ts, const S& format_str, const Args&... args) { vprint(f, ts, format_str, fmt::make_args_checked<Args...>(format_str, args...)); }
subq $0x48, %rsp movq 0x50(%rsp), %rax movl (%rcx), %ecx movl (%r8), %r10d movq (%r9), %r9 movq %rsp, %r8 movq (%rax), %rax movq %rcx, (%r8) movl $0x4411, %ecx # imm = 0x4411 movq %r10, 0x10(%r8) movq %r9, 0x20(%r8) movq %rax, 0x30(%r8) callq 0xf1e7 addq $0x48, %rsp retq nop
/quesnel[P]baryonyx/external/fmt/include/fmt/color.h
baryonyx::itm::select_float(baryonyx::context const&, baryonyx::problem const&, bool)
static result select_float(const context& ctx, const problem& pb, bool is_optimization) { const auto f = static_cast<int>(ctx.parameters.float_type); if (f == 0) return select_mode<float_sel<0>>(ctx, pb, is_optimization); else if (f == 1) return select_mode<float_sel<1>>(ctx, pb, is_optimiz...
pushq %rbx movq %rdi, %rbx movl 0xd0(%rsi), %r10d movl 0xf0(%rdx), %r9d movq 0x28(%rdx), %rdi movq 0x30(%rdx), %r8 movb 0xf0(%rsi), %al cmpl $0x1, %r10d je 0xaabcc testl %r10d, %r10d jne 0xaabf7 testl %r9d, %r9d je 0xaac22 cmpq %r8, %rdi je 0xaac94 movq %rbx, %rdi testb %al, %al je 0xaaceb testb %cl, %cl je 0xaade4 cal...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-01.cpp
baryonyx::result baryonyx::itm::optimize_problem<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>(baryonyx::context const&, baryonyx::problem const&)
inline result optimize_problem(const context& ctx, const problem& pb) { result r; if (ctx.start) ctx.start(ctx.parameters); auto constraints{ make_merged_constraints(ctx, pb) }; if (constraints.empty() || pb.vars.values.empty()) { r.status = result_status::success; r.solutions....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) movq $0x7fffffff, 0x98(%rdi) # imm = 0x7FFFFFFF movl $0x2, 0xa...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::result baryonyx::itm::optimize_problem<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, false>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>(baryonyx::context const&, baryonyx::problem const&)
inline result optimize_problem(const context& ctx, const problem& pb) { result r; if (ctx.start) ctx.start(ctx.parameters); auto constraints{ make_merged_constraints(ctx, pb) }; if (constraints.empty() || pb.vars.values.empty()) { r.status = result_status::success; r.solutions....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 vxorpd %xmm0, %xmm0, %xmm0 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) movq $0x7fffffff, 0x98(%rdi) # imm = 0x7FFFFFFF movl $0x2, 0xa...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::optimize_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>>::operator()(std::atomic<bool> const&, baryonyx::itm::best_solution_recorder<baryonyx::...
void operator()(const std::atomic_bool& stop_task, best_solution_recorder<Cost, Float, Mode>& best_recorder, const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_const...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x148, %rsp # imm = 0x148 movq %rdi, %rbp leaq 0x18(%rsp), %rdi movq %rsi, %r15 movl %r8d, %esi vmovsd %xmm0, 0x58(%rsp) movq %r9, %r12 movl %r8d, %ebx movq %rcx, %r14 movq %rdx, 0x28(%rsp) callq 0x28b24 movq (%rbp), %r13 movq %rbp, 0x70...
/quesnel[P]baryonyx/lib/src/itm-optimizer-common.hpp
baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::solver_equalities_01coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::default_cost_type<float> const&, std::vector<baryonyx::itm::merged_...
solver_equalities_01coeff(random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : logger("solver_equalities_01coeff") , rng(rng_) , ap...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %ebp leaq 0x3a2556(%rip), %rdx # 0x44f081 movq %r9, %r12 movq %r8, 0x20(%rsp) movl %ecx, %r13d movq %rsi, %r14 movq %rdi, %rbx pushq $0x19 popq %rsi callq 0xad180 movq %r14, 0x8(%rbx) leaq 0x10(%rbx), %r14 movq %r14, %rdi m...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-01.cpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true> const&, ba...
void init(const Solver& s, const Xtype& x) { switch (order) { case solver_parameters::constraint_order::infeasibility_decr: case solver_parameters::constraint_order::infeasibility_incr: infeasibility_local_compute_violated_constraints(s, x); break; case solver...
movl 0x30(%rdi), %ecx movq %rdi, %rax leal -0x3(%rcx), %edi cmpl $0x2, %edi jae 0xaccba movq %rax, %rdi jmp 0xad444 cmpl $0x7, %ecx jne 0xaccd7 movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0xacce5 movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0xaccc8 movq %rsi, %rdi movq %rdx, %rsi movq %...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, baryonyx::bit_array, float>(baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>&, bar...
int run(Solver& solver, Xtype& x, random_engine& rng, Float kappa, Float delta, Float theta) { bool pi_changed = false; int remaining = 0; switch (order) { case solver_parameters::constraint_order::reversing: so...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movl 0x30(%rdi), %eax movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 decl %eax cmpl $0x6, %eax ja 0xace25 leaq 0x3a1dff(%rip), %rdx # 0x44eb0c movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax movq 0x8(%r14), %rax leaq 0x18(%rsp), %rdx leaq 0x10(%rsp), %rcx movq...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::push_and_run<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, baryonyx::bit_array, float>(baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, tr...
int push_and_run(Solver& solver, Xtype& x, random_engine& rng, Float kappa, Float delta, Float theta, Float objective_amplifier) { bool pi_changed = 0; int remaining = 0; ...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movl 0x30(%rdi), %eax cmpb $0x1, 0x34(%rdi) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 jne 0xacf1e xorl %esi, %esi leal 0x1(%rax), %edx cmpl $0x7, %eax cmovll %edx, %esi movl %esi, %eax movl %esi, 0x30(%r14) decl %eax cmpl $0x6, %eax ja 0xad0b7 leaq 0x3a1bf8(%rip),...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::debug_logger<true>::debug_logger(std::basic_string_view<char, std::char_traits<char>>)
debug_logger(const std::string_view name) noexcept { if constexpr (debug) { char buffer[512] = { '\0' }; auto written = fmt::format_to_n( buffer, 511, "{}-{}.log", name, std::hash<std::thread::id>{}(std::this_thre...
pushq %r15 pushq %r14 pushq %rbx subq $0x230, %rsp # imm = 0x230 leaq 0x20(%rsp), %r14 vxorps %xmm0, %xmm0, %xmm0 leaq 0x30(%rsp), %r15 movq %rdi, %rbx movq %rsi, (%r14) movq %rdx, 0x8(%r14) andq $0x0, (%rdi) vmovups %zmm0, 0x1c0(%r15) vmovups %zmm0, 0x180(%r15) vmovups %zmm0, 0x140(%r15) vmovups %zmm0, 0x10...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
std::enable_if<true, fmt::v7::format_to_n_result<char*>>::type fmt::v7::format_to_n<char*, char [10], std::basic_string_view<char, std::char_traits<char>>, unsigned long, true>(char*, unsigned long, char const (&) [10], std::basic_string_view<char, std::char_traits<char>> const&, unsigned long const&)
inline auto format_to_n(OutputIt out, size_t n, const S& format_str, const Args&... args) -> typename std::enable_if<enable, format_to_n_result<OutputIt>>::type { const auto& vargs = fmt::make_args_checked<Args...>(format_str, args...); return vformat_to_n(out, n, to_string_view(format_s...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx movq (%rcx), %rax movq 0x8(%rcx), %rcx movq (%r8), %rsi movq %rdi, %r14 movq %rsp, %r15 movq %rdx, %rdi movq %rcx, (%r15) movq %rax, 0x8(%r15) movq %rsi, 0x10(%r15) callq 0xf3b2 movq %rdx, %rcx pushq $0x4d popq %r8 movq %r14, %rdi movq %rbx, %rsi movq %r...
/quesnel[P]baryonyx/external/fmt/include/fmt/core.h
fmt::v7::format_to_n_result<char*> fmt::v7::vformat_to_n<char*, char, 0>(char*, unsigned long, fmt::v7::basic_string_view<char>, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity<char>::type>, fmt::v7::type_identity<char>::type>>)
explicit iterator_buffer(OutputIt out, size_t n = buffer_size) : Traits(n), buffer<T>(data_, 0, buffer_size), out_(out) {}
pushq %r14 pushq %rbx subq $0x138, %rsp # imm = 0x138 leaq 0x38(%rsp), %rax andq $0x0, -0x18(%rax) movq %rsi, -0x10(%rax) movq %rax, -0x30(%rax) andq $0x0, -0x28(%rax) leaq 0x57bbad(%rip), %rsi # 0x628ee8 movq $0x100, -0x20(%rax) # imm = 0x100 movq %rsi, -0x38(%rax) movq %rdi, -0x8(%rax) movq %rdx, %r...
/quesnel[P]baryonyx/external/fmt/include/fmt/core.h
fmt::v7::detail::iterator_buffer<char*, char, fmt::v7::detail::fixed_buffer_traits>::flush()
void iterator_buffer<OutputIt, T, Traits>::flush() { out_ = std::copy_n(data_, this->limit(this->size()), out_); this->clear(); }
pushq %r15 pushq %r14 pushq %rbx movq 0x28(%rdi), %rax movq 0x20(%rdi), %rdx movq 0x10(%rdi), %rcx xorl %r14d, %r14d movq %rdi, %rbx subq %rdx, %rax cmovaeq %rax, %r14 addq %rcx, %rdx movq %rdx, 0x20(%rdi) cmpq %rcx, %r14 movq 0x30(%rdi), %r15 cmovaeq %rcx, %r14 testq %r14, %r14 je 0xad419 leaq 0x38(%rbx), %rsi movq %r...
/quesnel[P]baryonyx/external/fmt/include/fmt/format.h
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true> const, baryonyx::bit_array>(baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx...
int infeasibility_local_compute_violated_constraints(Solver& solver, const Xtype& x) { m_order.clear(); for (int k = 0, e = solver.m; k != e; ++k) { sparse_matrix<int>::const_row_iterator it, et; std::tie(it, et) = sol...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq 0x18(%rdi), %rax movq %rdx, %r14 movq %rsi, 0x20(%rsp) cmpq %rax, 0x20(%rdi) je 0xad468 movq %rax, 0x20(%rdi) movq 0x20(%rsp), %rcx leaq 0x18(%rdi), %rax movq %rdi, 0x28(%rsp) xorl %ebp, %ebp movq %rax, 0x18(%rsp) movl 0x78(%rcx), %...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::compute_update_row<baryonyx::bit_array, __gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>(baryonyx::bit_array&, __gnu_cxx::__normal_iterator<int const*, std::v...
bool compute_update_row(Xtype& x, Iterator first, Iterator last, Float kappa, Float delta, Float theta) { auto at_least_one_pi_changed{ false }; logger::log("u...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, 0x40(%rsp) leaq 0x1c(%rsp), %rcx leaq 0x18(%rsp), %r8 leaq 0x14(%rsp), %r9 movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x3a155c(%rip), %rdx # 0x44f186 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r8) vmovss %xmm2, (%r9) pu...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-01.cpp
int baryonyx::itm::compute_order::local_compute_violated_constraints<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_...
int local_compute_violated_constraints(const Solver& slv, const Xtype& x) { int remaining = 0; for (int k = 0; k != slv.m; ++k) if (!is_valid_constraint(slv, k, x)) ++remaining; return remaining; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 xorl %ebp, %ebp xorl %r15d, %r15d cmpl 0x78(%r14), %r15d je 0xaddd8 movq %r14, %rdi movl %r15d, %esi movq %rbx, %rdx callq 0xad591 xorb $0x1, %al incl %r15d movzbl %al, %eax addl %eax, %ebp jmp 0xaddb8 movl %ebp, %eax addq $0x8, %rsp...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
void baryonyx::itm::random_shuffle_unique<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::rc_data*>(baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::rc_data*, baryonyx...
inline void random_shuffle_unique(iteratorT begin, iteratorT end, random_engine& rng) noexcept { auto ret = begin++; for (; begin != end; ++begin) { if (ret->value != begin->value) { std::shuffle(ret, begin, rng); ret = begin; }...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 leaq 0x8(%rdi), %rsi cmpq %r14, %rsi je 0xae264 vmovss (%rdi), %xmm0 leaq 0x8(%rsi), %r15 vucomiss (%rsi), %xmm0 movq %r15, %rsi jne 0xae250 jnp 0xae238 addq $-0x8, %r15 movq %r15, %rsi movq %rbx, %rdx callq 0xae6cb movq %r15, %rdi jmp 0xae234 movq %rbx, ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::push_and_compute_update_row<baryonyx::bit_array, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>(baryonyx::bit_array&, __gnu_cxx::__normal_iterator<int*, std::vect...
bool push_and_compute_update_row(Xtype& x, Iterator first, Iterator last, Float kappa, Float delta, Float theta, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, 0x40(%rsp) leaq 0x1c(%rsp), %rcx leaq 0x18(%rsp), %r8 leaq 0x14(%rsp), %r9 movq %rdx, %r14 vmovss %xmm3, 0x10(%rsp) movq %rsi, %r13 movq %rdi, %r12 leaq 0x39f457(%rip), %rdx # 0x44f181 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-01.cpp
bool baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::push_and_compute_update_row<baryonyx::bit_array, __gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>(baryonyx::bit_array&, __gnu_cxx::__normal_iterator<int const...
bool push_and_compute_update_row(Xtype& x, Iterator first, Iterator last, Float kappa, Float delta, Float theta, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, 0x40(%rsp) leaq 0x1c(%rsp), %rcx leaq 0x18(%rsp), %r8 leaq 0x14(%rsp), %r9 movq %rdx, %r14 vmovss %xmm3, 0x10(%rsp) movq %rsi, %r13 movq %rdi, %r12 leaq 0x39f08f(%rip), %rdx # 0x44f181 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-01.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, baryonyx::pnm_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, std::a...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3a8, %rsp # imm = 0x3A8 vmovsd %xmm0, 0x60(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x20(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
int baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, false>::compute_reduced_costs<baryonyx::bit_array>(baryonyx::sparse_matrix<int>::row_value*, baryonyx::sparse_matrix<int>::row_value*, baryonyx::bit_array const&)
int compute_reduced_costs(sparse_matrix<int>::row_iterator begin, sparse_matrix<int>::row_iterator end, const Xtype& x) noexcept { int r_size = 0; for (; begin != end; ++begin) { Float sum_a_pi = 0; Float sum_a_p = ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp leaq 0x10(%rdi), %r13 leaq 0x8(%rsp), %rbp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r12 xorl %r15d, %r15d cmpq %rbx, %r14 je 0xb43b4 movl 0x4(%r14), %edx movq %rbp, %rdi movq %r13, %rsi callq 0x33320 movq 0x8(%rsp), %rax movq 0x10(%rs...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-01.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, baryonyx::pnm_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, st...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3b8, %rsp # imm = 0x3B8 vmovsd %xmm0, 0x60(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x20(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, baryonyx::file_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, s...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3b8, %rsp # imm = 0x3B8 vmovsd %xmm0, 0x60(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x20(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, baryonyx::none_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, s...
result operator()(const std::vector<merged_constraint>& constraints, int variables, const Cost& original_costs, double cost_constant) { result r; bit_array x(variables); int best_remaining = INT_MAX; auto& p = m_ctx...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x168, %rsp # imm = 0x168 vmovsd %xmm0, 0x58(%rsp) vxorps %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x18(%rsp) vmovups %zmm0, 0x58(%rdi) vmovups %zmm0, 0x40(%rdi) vmovups %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, baryonyx::pnm_observer>::is_timelimit_reached()
bool is_timelimit_reached() { m_end = std::chrono::steady_clock::now(); return is_time_limit(m_ctx.parameters.time_limit, m_begin, m_end); }
pushq %rbx movq %rdi, %rbx callq 0x9540 movq %rax, 0x8(%rbx) vxorpd %xmm2, %xmm2, %xmm2 movq 0x10(%rbx), %rcx subq (%rbx), %rax vmovsd (%rcx), %xmm0 vcvtsi2sd %rax, %xmm1, %xmm1 vdivsd 0x38c3a7(%rip), %xmm1, %xmm1 # 0x44c8c0 vcmpnlepd %xmm2, %xmm0, %k1 vcmpltpd %xmm1, %xmm0, %k0 {%k1} kmovd %k0, %eax andb $0x1, %al pop...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, baryonyx::file_observer>::store_if_better(baryonyx::bit_array const&, double, long)
inline bool is_better_solution(Float lhs, Float rhs) noexcept { if constexpr (std::is_same_v<Mode, minimize_tag>) return lhs < rhs; else return lhs > rhs; }
vucomisd 0x30(%rdi), %xmm0 jbe 0xc0598 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0xc0612 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r14) addq $0x8, %rsp pop...
/quesnel[P]baryonyx/lib/src/itm-common.hpp