name
string
code
string
asm
string
file
string
baryonyx::result baryonyx::itm::solve_problem<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>(baryonyx::context const&, baryonyx::problem co...
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 0x1c5e9f 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::optimize_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>::operator()(std::atomic<bool> const&, baryonyx::itm::best_sol...
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
baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>::solver_equalities_101coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::default_cost_type<long double> const&, std::vector<ba...
solver_equalities_101coeff(random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : logger("solver_equalities_101coeff") , rng(rng_) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %r12d leaq 0x28ac36(%rip), %rdx # 0x45179a movq %r9, %r13 movq %rdi, %rbx movq %r8, 0x20(%rsp) movl %ecx, %ebp movq %rsi, %r14 pushq $0x1a popq %rsi callq 0xad180 leaq 0x10(%rbx), %r15 movq %r14, 0x8(%rbx) movq %r15, %rdi m...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long...
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 0x1c6d4a movq %rax, %rdi jmp 0x1c735e cmpl $0x7, %ecx jne 0x1c6d67 movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x1c6d75 movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x1c6d58 movq %rsi, %rdi movq %rdx, %rsi m...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, baryonyx::bit_array, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cos...
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 0x1c6e97 leaq 0x28a80e(%rip), %rdx # 0x4515c0 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_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true> const, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::ma...
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 0x1c7380 movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x10(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_t...
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 0x1c747b movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x80(%r15), %esi je 0x1c74b1 movq %r15, %rdi movq %r14, %rdx callq 0x1c74c8 testb ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::is_valid_constraint<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long...
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 0x10(%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 0x1c7525 movslq (%r...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>::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::...
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 $0x98, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x2879fc(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>::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...
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 $0x98, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x2877ea(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize...
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 0x1c7baa movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x10(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, 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 c...
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 $0x98, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x2874d8(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>::rc_size baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>::compute_reduced_costs<baryonyx::bit_...
rc_size compute_reduced_costs(sparse_matrix<int>::row_iterator begin, sparse_matrix<int>::row_iterator end, const Xtype& x) noexcept { int r_size = 0; int c_size = 0; for (; begin != end; ++begin) { Float sum_a_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp leaq 0x10(%rdi), %r12 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 xorl %ebp, %ebp xorl %r13d, %r13d cmpq %rbx, %r14 je 0x1c7fe5 movl 0x4(%r14), %edx leaq 0x8(%rsp), %rdi movq %r12, %rsi callq 0x33320 movq 0x8(%rsp), %rcx movq 0x10(%r...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::pnm_observer>::store_if_better(baryonyx::bit_array co...
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 0x1ccfe4 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1cd05e vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r14) addq $0x8, %rsp p...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::optimize_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<long double>>::operator()(std::atomic<bool> const&, baryonyx::itm::best_so...
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
baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::solver_equalities_101coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::quadratic_cost_type<long double> const&, std::vecto...
solver_equalities_101coeff(random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : logger("solver_equalities_101coeff") , rng(rng_) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %r12d leaq 0x27bde0(%rip), %rdx # 0x45179a movq %r9, %r13 movq %rdi, %rbx movq %r8, 0x20(%rsp) movl %ecx, %ebp movq %rsi, %r14 pushq $0x1a popq %rsi callq 0xad180 leaq 0x10(%rbx), %r15 movq %r14, 0x8(%rbx) movq %r15, %rdi m...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<...
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 0x1d5ba0 movq %rax, %rdi jmp 0x1d61b4 cmpl $0x7, %ecx jne 0x1d5bbd movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x1d5bcb movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x1d5bae movq %rsi, %rdi movq %rdx, %rsi m...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic...
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 0x1d5ced leaq 0x27ba28(%rip), %rdx # 0x451630 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_order::push_and_run<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::...
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 $0x80, %rsp fldt 0xd0(%rsp) fldt 0xc0(%rsp) fldt 0xb0(%rsp) fldt 0xa0(%rsp) movl 0x30(%rdi), %eax cmpb $0x1, 0x34(%rdi) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 jne 0x1d5e47 xorl %esi, %esi leal 0x1(%rax), %edx cmpl $0x7, %eax cmovll %edx, %esi movl %esi, %eax movl %esi, 0x3...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true> const, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::...
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 0x1d61d6 movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x10(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_co...
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 0x1d62d1 movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x80(%r15), %esi je 0x1d6307 movq %r15, %rdi movq %r14, %rdx callq 0x1d631e testb ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::is_valid_constraint<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<...
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 0x10(%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 0x1d637b movslq (%r...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::compute_update_row<baryonyx::bit_array, std::reverse_iterator<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>>(baryonyx::bit_array&, std::reve...
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 $0x98, %rsp movq %rcx, 0x50(%rsp) movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r12 leaq 0x278dc6(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::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...
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 $0x98, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x278ba6(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::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>>>>>(baryon...
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 $0x98, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x278994(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximi...
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 0x1d6a00 movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x10(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, 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...
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 $0x98, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r12 leaq 0x278682(%rip), %rdx # 0x44f186 fldt 0xf0(%rsp) fldt 0xe0(%rsp) fldt 0xd0(%rsp) fstpt 0x80(%rsp) fstpt 0x70(%rsp) fstpt 0x60(%rsp) pushq $0x14 popq %rsi leaq 0...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
int baryonyx::itm::compute_order::local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryon...
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 0x80(%r14), %r15d je 0x1d6d25 movq %r14, %rdi movl %r15d, %esi movq %rbx, %rdx callq 0x1d631e xorb $0x1, %al incl %r15d movzbl %al, %eax addl %eax, %ebp jmp 0x1d6d02 movl %ebp, %eax addq $0x8, %...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::decrease_preference(baryonyx::sparse_matrix<int>::row_value*, baryonyx::sparse_matrix<int>::row_value*, long double)
void decrease_preference(sparse_matrix<int>::row_iterator begin, sparse_matrix<int>::row_iterator end, Float theta) noexcept { for (; begin != end; ++begin) P[begin->value] *= theta; }
fldt 0x8(%rsp) movq 0x50(%rdi), %rax cmpq %rdx, %rsi je 0x1d6d54 movslq (%rsi), %rcx addq $0x8, %rsi shlq $0x4, %rcx fldt (%rax,%rcx) fmul %st(1), %st fstpt (%rax,%rcx) jmp 0x1d6d3a fstp %st(0) retq nop
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::rc_size baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::compute_reduced_costs<baryonyx::...
rc_size compute_reduced_costs(sparse_matrix<int>::row_iterator begin, sparse_matrix<int>::row_iterator end, const Xtype& x) noexcept { int r_size = 0; int c_size = 0; for (; begin != end; ++begin) { Float sum_a_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp leaq 0x10(%rdi), %r13 movq %rcx, 0x18(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 xorl %ebx, %ebx movq $0x0, 0x8(%rsp) cmpq %r14, %r15 je 0x1d6e6d movl 0x4(%r15), %edx leaq 0x20(%rsp), %rdi movq %r13, %rsi callq 0x33320 movq 0x...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::affect<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array, baryonyx::sparse_matrix<int>::row_value*, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximiz...
bool affect(Solver& slv, Xtype& x, Iterator it, int k, int selected, int r_size, const Float kappa, const Float delta) { constexpr Float one{ 1 }; constexpr Float two{ 2 }; constexpr Float middle{ (two + one) / two }; const auto old_pi = slv.pi[k]; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp fldt 0x90(%rsp) fldt 0x80(%rsp) movq 0x70(%rdi), %rax movq %rdx, %r15 movslq %ecx, %rdx movl %ecx, 0x10(%rsp) movq %rsi, %r14 movq %rdi, %rbx shlq $0x4, %rdx fldt (%rax,%rdx) fstpt 0x14(%rsp) movq %rdx, 0x28(%rsp) testl %r8d, %r8d js 0x1...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
void baryonyx::itm::random_shuffle_unique<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::rc_data*>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long doub...
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 0x20(%rdi), %r15 cmpq %r14, %r15 je 0x1d71cc fldt (%rdi) fldt (%r15) addq $0x20, %r15 fxch %st(1) fucompi %st(1), %st fstp %st(0) jne 0x1d71b8 jnp 0x1d71a0 addq $-0x20, %r15 movq %r15, %rsi movq %rbx, %rdx callq 0x1d774d movq %r15, %rdi jmp 0x1d719c ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::push_and_compute_update_row<baryonyx::bit_array, std::reverse_iterator<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>>(baryonyx::bit_array&, ...
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 $0xa8, %rsp movq %rcx, 0x50(%rsp) movq %rdx, %rbx leaq 0x27650b(%rip), %rdx # 0x44f181 movq %rsi, %r15 movq %rdi, %r12 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, 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<...
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 $0xa8, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 leaq 0x2762c1(%rip), %rdx # 0x44f181 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::push_and_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>>>...
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 $0xa8, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 leaq 0x276089(%rip), %rdx # 0x44f181 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, 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_ite...
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 $0xa8, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 leaq 0x275e51(%rip), %rdx # 0x44f181 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, long double, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<long double>, baryonyx::file_observer>::store_if_better(baryonyx::bit_arr...
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 0x1dbf54 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1dbfce vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r14) addq $0x8, %rsp p...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::affect<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, baryonyx::bit_array, baryonyx::sparse_matrix<int>::row_value*, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_...
bool affect(Solver& slv, Xtype& x, Iterator it, int k, int selected, int r_size, const Float kappa, const Float delta) { constexpr Float one{ 1 }; constexpr Float two{ 2 }; constexpr Float middle{ (two + one) / two }; const auto old_pi = slv.pi[k]; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp fldt 0x90(%rsp) fldt 0x80(%rsp) movq 0x70(%rdi), %rax movq %rdx, %r15 movslq %ecx, %rdx movl %ecx, 0x10(%rsp) movq %rsi, %r14 movq %rdi, %rbx shlq $0x4, %rdx fldt (%rax,%rdx) fstpt 0x14(%rsp) movq %rdx, 0x28(%rsp) testl %r8d, %r8d js 0x1...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
void baryonyx::itm::random_shuffle_unique<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>::rc_data*>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>,...
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 0x20(%rdi), %r15 cmpq %r14, %r15 je 0x1e6065 fldt (%rdi) fldt (%r15) addq $0x20, %r15 fxch %st(1) fucompi %st(1), %st fstp %st(0) jne 0x1e6051 jnp 0x1e6039 addq $-0x20, %r15 movq %r15, %rsi movq %rbx, %rdx callq 0x1e65e6 movq %r15, %rdi jmp 0x1e6035 ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>::push_and_compute_update_row<baryonyx::bit_array, std::reverse_iterator<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>>(baryonyx::bit_array&, st...
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 $0xa8, %rsp movq %rcx, 0x50(%rsp) movq %rdx, %rbx leaq 0x267673(%rip), %rdx # 0x44f181 movq %rsi, %r15 movq %rdi, %r12 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, 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<in...
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 $0xa8, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 leaq 0x267429(%rip), %rdx # 0x44f181 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>::push_and_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>>>>>...
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 $0xa8, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 leaq 0x2671f1(%rip), %rdx # 0x44f181 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, 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_itera...
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 $0xa8, %rsp movq %rcx, 0x48(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 leaq 0x266fb9(%rip), %rdx # 0x44f181 fldt 0x110(%rsp) fstpt 0x64(%rsp) fldt 0x100(%rsp) fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x90(%rsp) fstpt 0x80(%rsp) fstpt 0x70...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::pnm_observer>::operator()(std::vector<baryonyx::itm::...
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 $0x428, %rsp # imm = 0x428 vmovsd %xmm0, 0x80(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x58(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::file_observer>::operator()(std::vector<baryonyx::itm:...
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 $0x428, %rsp # imm = 0x428 vmovsd %xmm0, 0x80(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x58(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::none_observer>::operator()(std::vector<baryonyx::itm:...
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 $0x1e8, %rsp # imm = 0x1E8 vmovsd %xmm0, 0x80(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x58(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::pnm_observer>::store_if_better(baryonyx::bit_array co...
void store_if_better(const bit_array& x, double current, long int i) { if (is_better_solution<Mode>(current, m_best.value)) { m_best.x = x; m_best.duration = duration(); m_best.loop = i; m_best.remaining_constraints = 0; m_best.value = current; ...
vmovsd 0x30(%rdi), %xmm1 vucomisd %xmm0, %xmm1 jbe 0x1ead0e pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1ead88 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r1...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long 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 0x261b4f(%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_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::file_observer>::store_if_better(baryonyx::bit_array c...
void store_if_better(const bit_array& x, double current, long int i) { if (is_better_solution<Mode>(current, m_best.value)) { m_best.x = x; m_best.duration = duration(); m_best.loop = i; m_best.remaining_constraints = 0; m_best.value = current; ...
vmovsd 0x30(%rdi), %xmm1 vucomisd %xmm0, %xmm1 jbe 0x1eadf4 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1eae6e vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r1...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long 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 0x261a69(%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_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::none_observer>::store_if_better(baryonyx::bit_array c...
void store_if_better(const bit_array& x, double current, long int i) { if (is_better_solution<Mode>(current, m_best.value)) { m_best.x = x; m_best.duration = duration(); m_best.loop = i; m_best.remaining_constraints = 0; m_best.value = current; ...
vmovsd 0x30(%rdi), %xmm1 vucomisd %xmm0, %xmm1 jbe 0x1eaeda pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1eaf54 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r1...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::none_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 0x261983(%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
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<lon...
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 0x1ebb1a movq %rax, %rdi jmp 0x1ec12a cmpl $0x7, %ecx jne 0x1ebb37 movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x1ebb45 movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x1ebb28 movq %rsi, %rdi movq %rdx, %rsi m...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, baryonyx::bit_array, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_co...
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 0x1ebc67 leaq 0x265b56(%rip), %rdx # 0x4516d8 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_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false> const, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::m...
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 0x1ec14c movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x10(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_...
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 0x1ec247 movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x80(%r15), %esi je 0x1ec27d movq %r15, %rdi movq %r14, %rdx callq 0x1ec294 testb ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::is_valid_constraint<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<lon...
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 0x10(%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 0x1ec2f1 movslq (%r...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>::compute_update_row<baryonyx::bit_array, std::reverse_iterator<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>>(baryonyx::bit_array&, std::rever...
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 $0x78, %rsp movq %rcx, 0x48(%rsp) movq %rsi, 0x40(%rsp) leaq 0x10(%rdi), %rax movq %rdi, %r12 xorl %ebp, %ebp fldt 0xd0(%rsp) fstpt 0x6c(%rsp) fldt 0xc0(%rsp) fstpt 0x60(%rsp) fldt 0xb0(%rsp) fstpt 0x54(%rsp) movq %rax, 0x30(%rsp) movq %rdx, 0x38(%r...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>::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:...
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 $0x78, %rsp movq %rcx, 0x40(%rsp) movq %rsi, 0x38(%rsp) leaq 0x10(%rdi), %rax movq %rdi, %r12 xorl %r14d, %r14d fldt 0xd0(%rsp) fstpt 0x6c(%rsp) fldt 0xc0(%rsp) fstpt 0x60(%rsp) fldt 0xb0(%rsp) fstpt 0x54(%rsp) movq %rax, 0x30(%rsp) movq 0x38(%rsp),...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>::push_and_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>>>>...
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 $0x88, %rsp movq %rcx, 0x58(%rsp) movq %rsi, 0x38(%rsp) leaq 0x10(%rdi), %rax movq %rdx, %r14 movq %rdi, %r12 xorl %r13d, %r13d fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x7c(%rsp) fldt 0xd0(%rsp) fstpt 0x70(%rsp) fldt 0xc0(%rsp) fstpt 0x64(%rsp) movq %...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
bool baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>::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_iter...
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 $0x88, %rsp movq %rcx, 0x58(%rsp) movq %rsi, 0x38(%rsp) leaq 0x10(%rdi), %rax movq %rdx, %r14 movq %rdi, %r12 xorl %r13d, %r13d fldt 0xf0(%rsp) fldt 0xe0(%rsp) fstpt 0x7c(%rsp) fldt 0xd0(%rsp) fstpt 0x70(%rsp) fldt 0xc0(%rsp) fstpt 0x64(%rsp) movq %...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::pnm_observer>::operator()(std::vector<baryonyx::itm:...
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 $0x428, %rsp # imm = 0x428 vmovsd %xmm0, 0x80(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x58(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::file_observer>::operator()(std::vector<baryonyx::itm...
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 $0x428, %rsp # imm = 0x428 vmovsd %xmm0, 0x80(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x58(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::none_observer>::operator()(std::vector<baryonyx::itm...
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 $0x1e8, %rsp # imm = 0x1E8 vmovsd %xmm0, 0x80(%rsp) vxorpd %xmm0, %xmm0, %xmm0 movq %r8, %r13 movl %ecx, %ebx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, 0x58(%rsp) vmovupd %zmm0, 0x58(%rdi) vmovupd %zmm0, 0x40(%rdi) vmovupd %zmm0, (%rdi) ...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long 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 0x25b0ab(%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_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::file_observer>::store_if_better(baryonyx::bit_array ...
void store_if_better(const bit_array& x, double current, long int i) { if (is_better_solution<Mode>(current, m_best.value)) { m_best.x = x; m_best.duration = duration(); m_best.loop = i; m_best.remaining_constraints = 0; m_best.value = current; ...
vmovsd 0x30(%rdi), %xmm1 vucomisd %xmm0, %xmm1 jbe 0x1f1898 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1f1912 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r1...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long 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 0x25afc5(%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_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::none_observer>::store_if_better(baryonyx::bit_array ...
void store_if_better(const bit_array& x, double current, long int i) { if (is_better_solution<Mode>(current, m_best.value)) { m_best.x = x; m_best.duration = duration(); m_best.loop = i; m_best.remaining_constraints = 0; m_best.value = current; ...
vmovsd 0x30(%rdi), %xmm1 vucomisd %xmm0, %xmm1 jbe 0x1f197e pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x1f19f8 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r1...
/quesnel[P]baryonyx/lib/src/itm-solver-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::default_cost_type<long double>, baryonyx::none_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 0x25aedf(%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_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>>(baryonyx::context const&, baryonyx::prob...
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 $0x198, %rsp # imm = 0x198 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_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>>(baryonyx::context const&, baryonyx::problem...
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 0x1f20b2 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::result baryonyx::itm::optimize_problem<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>>(baryonyx::context const&, baryonyx::pro...
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 $0x198, %rsp # imm = 0x198 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_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, false>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>>(baryonyx::context const&, baryonyx::proble...
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 0x1f2a33 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::optimize_functor<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_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 $0x1f8, %rsp # imm = 0x1F8 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
baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>::solver_equalities_101coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::quadratic_cost_type<long double> const&, std::vecto...
solver_equalities_101coeff(random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : logger("solver_equalities_101coeff") , rng(rng_) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %r12d leaq 0x25e0a2(%rip), %rdx # 0x45179a movq %r9, %r13 movq %rdi, %rbx movq %r8, 0x20(%rsp) movl %ecx, %ebp movq %rsi, %r14 pushq $0x1a popq %rsi callq 0xad180 leaq 0x10(%rbx), %r15 movq %r14, 0x8(%rbx) movq %r15, %rdi m...
/quesnel[P]baryonyx/lib/src/itm-solver-equalities-101.cpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<...
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 0x1f38de movq %rax, %rdi jmp 0x1f3ef2 cmpl $0x7, %ecx jne 0x1f38fb movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x1f3909 movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x1f38ec movq %rsi, %rdi movq %rdx, %rsi m...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic...
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 0x1f3a2b leaq 0x25ddca(%rip), %rdx # 0x451710 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_order::push_and_run<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array, long double>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::...
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 $0x80, %rsp fldt 0xd0(%rsp) fldt 0xc0(%rsp) fldt 0xb0(%rsp) fldt 0xa0(%rsp) movl 0x30(%rdi), %eax cmpb $0x1, 0x34(%rdi) movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 jne 0x1f3b85 xorl %esi, %esi leal 0x1(%rax), %edx cmpl $0x7, %eax cmovll %edx, %esi movl %esi, %eax movl %esi, 0x3...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true> const, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::...
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 0x1f3f14 movq %rax, 0x20(%rdi) leaq 0x18(%rdi), %rax leaq 0x10(%r15), %rcx xorl %r12d, %r12d movq %rdi, 0x20(%rsp) movq %rax, 0x10(%rsp) movl 0x80(%r15), %eax...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_cost_type<long double>, true>, baryonyx::bit_array>(baryonyx::itm::solver_equalities_101coeff<long double, baryonyx::itm::minimize_tag, baryonyx::itm::quadratic_co...
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 0x1f400f movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x80(%r15), %esi je 0x1f4045 movq %r15, %rdi movq %r14, %rdx callq 0x1f405c testb ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>, baryonyx::bit_array>(baryonyx::itm::solver_inequalities_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 0x2037ca 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_inequalities_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:...
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 0x24b8c8(%rip), %rdx # 0x44f186 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r8) vmovss %xmm2, (%r9) pu...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, true>::select_variables(int, int, int)
int select_variables(const int r_size, int bkmin, int bkmax) { if (bkmin == bkmax) return std::min(bkmin, r_size) - 1; bkmin = std::min(bkmin, r_size); bkmax = std::min(bkmax, r_size); for (int i = bkmin; i <= bkmax; ++i) if (stop_iterating<Mode>(R[i].value,...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax cmpl %ecx, %edx jne 0x203bc1 cmpl %edx, %esi cmovll %esi, %edx movl %edx, %ebx jmp 0x203bfa cmpl %ecx, %esi movl %ecx, %ebx movq %rdi, %r14 cmovll %esi, %ebx cmpl %esi, %edx cmovll %edx, %esi movslq %ebx, %r12 movslq %esi, %r15 cmpq %r12, %r15 jg 0x203bfa movq 0x58...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
bool baryonyx::itm::solver_inequalities_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::ve...
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 0x249823(%rip), %rdx # 0x44f181 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
bool baryonyx::itm::solver_inequalities_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<std::pair<int, int> const*, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int>>>>>(baryonyx::...
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 0x2495f3(%rip), %rdx # 0x44f181 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
bool baryonyx::itm::solver_inequalities_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 con...
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 0x2493c3(%rip), %rdx # 0x44f181 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_inequalities_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::none_observer>::operator()(std::vector<baryonyx::itm::merged_constraint, std...
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 $0x158, %rsp # imm = 0x158 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_inequalities_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>::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 0x20871c pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x20, %rdi movq %rdx, %rbx vmovsd %xmm0, (%rsp) callq 0x28cba movq %r14, %rdi callq 0x208796 vmovsd (%rsp), %xmm1 vmovsd %xmm0, 0x38(%r14) movq %rbx, 0x48(%r14) andl $0x0, 0x50(%r14) vmovsd %xmm1, 0x30(%r14) addq $0x8, %rsp p...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
baryonyx::itm::solver_functor<baryonyx::itm::solver_inequalities_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>::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 0x244141(%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_inequalities_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::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 0x24405f(%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_inequalities_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::none_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 0x243f7d(%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
bool baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::default_cost_type<float>, false>::compute_update_row<baryonyx::bit_array, std::reverse_iterator<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>>(baryonyx::bit_array&, std::reverse_iterator...
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 $0x38, %rsp leaq 0x10(%rdi), %rax vmovss %xmm2, 0x14(%rsp) vmovss %xmm1, 0x10(%rsp) vmovss %xmm0, 0xc(%rsp) movq %rcx, 0x30(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 xorl %ebp, %ebp movq %rax, 0x28(%rsp) movq (%rdx), %rax movq 0x30(%rsp)...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>::solver_inequalities_01coeff(std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>&, int, int, baryonyx::itm::quadratic_cost_type<float> const&, std::vector<baryonyx::itm:...
solver_inequalities_01coeff(random_engine& rng_, int m_, int n_, const cost_type& c_, const std::vector<merged_constraint>& csts) : logger("solver_inequalities_01coeff") , rng(rng_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %ebp leaq 0x24356e(%rip), %rdx # 0x453df9 movq %r9, %r12 movq %r8, 0x20(%rsp) movl %ecx, %r13d movq %rsi, %r14 movq %rdi, %rbx pushq $0x1b popq %rsi callq 0xad180 movq %r14, 0x8(%rbx) leaq 0x10(%rbx), %r14 movq %r14, %rdi m...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp
void baryonyx::itm::compute_order::init<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, baryonyx::bit_array>(baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true> 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 0x210a52 movq %rax, %rdi jmp 0x210fea cmpl $0x7, %ecx jne 0x210a6f movq (%rax), %rcx movq 0x8(%rax), %rax xorl %edx, %edx cmpq %rax, %rcx je 0x210a7d movl %edx, (%rcx) incl %edx addq $0x4, %rcx jmp 0x210a60 movq %rsi, %rdi movq %rdx, %rsi m...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::run<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, baryonyx::bit_array, float>(baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, tru...
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 0x210bbd leaq 0x242e4b(%rip), %rdx # 0x4538f0 movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax movq 0x8(%r14), %rax leaq 0x18(%rsp), %rdx leaq 0x10(%rsp), %rcx mov...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::push_and_run<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, baryonyx::bit_array, float>(baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<fl...
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 0x210cb6 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 0x210e4f leaq 0x242c44(%rip...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
int baryonyx::itm::compute_order::infeasibility_local_compute_violated_constraints<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true> const, baryonyx::bit_array>(baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, ba...
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 0x21100e 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
int baryonyx::itm::compute_violated_constraints<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, baryonyx::bit_array>(baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, ...
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 0x2110ed movq %rax, 0x8(%rbx) leaq 0x4(%rsp), %r12 xorl %esi, %esi movl %esi, 0x4(%rsp) cmpl 0x78(%r15), %esi je 0x211120 movq %r15, %rdi movq %r14, %rdx callq 0x211137 testb ...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::is_valid_constraint<baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>, baryonyx::bit_array>(baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true> co...
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 movl %esi, %ebp leaq 0x10(%rdi), %rsi leaq 0x8(%rsp), %r15 movq %rdx, %r14 movq %rdi, %rbx movl %ebp, %edx movq %r15, %rdi callq 0x31caa movq (%r15), %r12 movq 0x8(%r15), %r13 xorl %r15d, %r15d cmpq %r12, %r13 je 0x211184 movl 0x4(%r13),...
/quesnel[P]baryonyx/lib/src/itm-common.hpp
bool baryonyx::itm::solver_inequalities_01coeff<float, baryonyx::itm::maximize_tag, baryonyx::itm::quadratic_cost_type<float>, true>::compute_update_row<baryonyx::bit_array, std::reverse_iterator<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>>>(baryonyx::bit_array&, std::reverse_iterato...
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, 0x48(%rsp) movq %rdx, %rbx leaq 0x1c(%rsp), %rcx leaq 0x18(%rsp), %r8 leaq 0x14(%rsp), %r9 leaq 0x23dfae(%rip), %rdx # 0x44f186 movq %rsi, %r14 movq %rdi, %r12 vmovss %xmm0, (%rcx) vmovss %xmm1, (%r8) vmovss %xmm2, (%r9) pu...
/quesnel[P]baryonyx/lib/src/itm-solver-inequalities-01.cpp