// File: /workspace/github_cpp_makefile_star2_O3/canzarlab[P]Trajan/src/LP.cpp
// Function: LP::Solve(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void LP::Solve(string filename, string outScoreFile)
{
    int cnt = 1;
    for (int i = 0; cnt; i++)
    {
        Timer T_lp, T_cross, T_indep;
        T_lp.start();
        LP::SolveLP();
        WriteSolution(filename);
        T_lp.stop();
        clog << ">>> Time for solve: \t\t" << T_lp.secs() << " secs" << endl;
        if (cf == 0)
            break;

        T_cross.start();
        cnt = Add<1>();
        T_cross.stop();
        clog << ">>> Time for crossing constraints: \t\t" << T_cross.secs() << " secs" << endl;

        if (cf == 2)
        {
            T_indep.start();
            cnt += Add<2>();
            T_indep.stop();
            clog << ">>> Time for independent set constraints: \t\t" << T_indep.secs() << " secs" << endl;
        }
        clog << "Added " << cnt << " rows." << endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rsi, 0x8(%rsp)
movq %rdi, %r14
leaq 0xe0(%rsp), %r12
leaq 0x20(%rsp), %r15
movq 0x51561(%rip), %r13     # 0x85f78
xorl %eax, %eax
movb %al, 0xe8(%rsp)
movb %al, 0xa8(%rsp)
movb %al, 0x68(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xb0(%rsp)
leaq 0xc0(%rsp), %rdi
movq %r12, %rsi
callq 0x9590
movb $0x1, 0xe8(%rsp)
movq %r14, %rdi
callq 0x34df4
movq %r15, 0x10(%rsp)
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xda46
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
movq %r14, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x34a9d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x9350
leaq 0xd0(%rsp), %rdi
movq %r12, %rsi
callq 0x9590
movq 0xd0(%rsp), %rax
movq 0xd8(%rsp), %r15
subq 0xc0(%rsp), %rax
subq 0xc8(%rsp), %r15
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
addq %rax, %r15
addq 0xb0(%rsp), %r15
movl $0x16, %edx
movq %r13, %rdi
leaq 0x39362(%rip), %rsi     # 0x6de50
callq 0x93b0
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
movsd 0x27525(%rip), %xmm1    # 0x5c028
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x9570
movq %rax, %r12
movl $0x5, %edx
movq %rax, %rdi
leaq 0x27763(%rip), %rbp     # 0x5c28c
movq %rbp, %rsi
callq 0x93b0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x9330
movsbl %al, %esi
movq %r12, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9230
movq %r13, %r14
leaq 0x518a5(%rip), %r13     # 0x86408
cmpl $0x0, (%r13)
je 0x34dc0
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0xa0(%rsp), %r15
movq %r15, %rsi
callq 0x9590
movb $0x1, 0xa8(%rsp)
movq %rbx, %rdi
callq 0x37a5e
movl %eax, %r12d
leaq 0x90(%rsp), %rdi
movq %r15, %rsi
callq 0x9590
movb $0x0, 0xa8(%rsp)
movq 0x90(%rsp), %rax
movq 0x98(%rsp), %r15
subq 0x80(%rsp), %rax
subq 0x88(%rsp), %r15
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
addq %rax, %r15
addq 0x70(%rsp), %r15
movl $0x25, %edx
movq %r14, %rdi
leaq 0x39270(%rip), %rsi     # 0x6de67
callq 0x93b0
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
divsd 0x2741c(%rip), %xmm0    # 0x5c028
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r14, %rdi
callq 0x9570
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x93b0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9330
movsbl %al, %esi
movq %r15, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9230
cmpl $0x2, (%r13)
movq %r14, %r13
movq %rbx, %r14
jne 0x34d4d
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x9590
movb $0x1, 0x68(%rsp)
cmpb $0x1, 0x68(%r14)
jne 0x34c94
movq %r14, %rdi
callq 0x37c6c
jmp 0x34c9c
movq %r14, %rdi
callq 0x37dac
addl %eax, %r12d
leaq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x9590
movb $0x0, 0x68(%rsp)
movq 0x50(%rsp), %rax
subq 0x40(%rsp), %rax
movq 0x58(%rsp), %r15
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
subq 0x48(%rsp), %r15
addq %rax, %r15
addq 0x30(%rsp), %r15
movq %r15, 0x30(%rsp)
movl $0x2c, %edx
movq %r13, %rdi
leaq 0x391a3(%rip), %rsi     # 0x6de8d
callq 0x93b0
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
divsd 0x27329(%rip), %xmm0    # 0x5c028
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x9570
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
leaq 0x2756b(%rip), %rsi     # 0x5c28c
callq 0x93b0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9330
movsbl %al, %esi
movq %r15, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9230
movl $0x6, %edx
movq %r13, %rdi
leaq 0x3915e(%rip), %rsi     # 0x6deba
callq 0x93b0
movq %r13, %rdi
movl %r12d, %esi
callq 0x9650
movq %rax, %r15
movl $0x6, %edx
movq %rax, %rdi
leaq 0x39143(%rip), %rsi     # 0x6dec1
callq 0x93b0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x9330
movsbl %al, %esi
movq %r15, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9230
testl %r12d, %r12d
leaq 0x20(%rsp), %r15
leaq 0xe0(%rsp), %r12
jne 0x34a17
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x34dec
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x9350
movq %rbx, %rdi
callq 0x9680