// File: /workspace/github_cpp_makefile_star2_O1/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), %rbp
leaq 0x20(%rsp), %r15
movl $0x1, %r12d
movq 0x52aa5(%rip), %r13     # 0x87f78
testl %r12d, %r12d
je 0x3589c
xorl %eax, %eax
movb %al, 0xe8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xb0(%rsp)
movb %al, 0xa8(%rsp)
movaps %xmm0, 0x70(%rsp)
movb %al, 0x68(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0xc0(%rsp), %rdi
movq %rbp, %rsi
callq 0x9580
movb $0x1, 0xe8(%rsp)
movq %r14, %rdi
callq 0x358d0
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 0xda94
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x35569
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x9340
leaq 0xd0(%rsp), %rdi
movq %rbp, %rbx
movq %rbp, %rsi
callq 0x9580
movb $0x0, 0xe8(%rsp)
movq 0xd0(%rsp), %rax
subq 0xc0(%rsp), %rax
movq 0xd8(%rsp), %r15
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
subq 0xc8(%rsp), %r15
addq %rax, %r15
addq 0xb0(%rsp), %r15
movq %r15, 0xb0(%rsp)
movl $0x16, %edx
movq %r13, %rdi
leaq 0x39cd3(%rip), %rsi     # 0x6f2a0
callq 0x93a0
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
divsd 0x26a46(%rip), %xmm0    # 0x5c028
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x9560
movq %rax, %rbp
movl $0x5, %edx
movq %rax, %rdi
leaq 0x26c88(%rip), %rsi     # 0x5c28c
callq 0x93a0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x9320
movsbl %al, %esi
movq %rbp, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9220
leaq 0x52dc8(%rip), %rax     # 0x88400
movl (%rax), %r15d
testl %r15d, %r15d
je 0x3588b
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0xa0(%rsp), %rbp
movq %rbp, %rsi
callq 0x9580
movb $0x1, 0xa8(%rsp)
movq %r14, %rdi
callq 0x381e6
movl %eax, %r12d
leaq 0x90(%rsp), %rdi
movq %rbp, %rsi
callq 0x9580
movb $0x0, 0xa8(%rsp)
movq 0x90(%rsp), %rax
subq 0x80(%rsp), %rax
movq 0x98(%rsp), %rbp
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
subq 0x88(%rsp), %rbp
addq %rax, %rbp
addq 0x70(%rsp), %rbp
movq %rbp, 0x70(%rsp)
movl $0x25, %edx
movq %r13, %rdi
leaq 0x39be5(%rip), %rsi     # 0x6f2b7
callq 0x93a0
xorps %xmm0, %xmm0
cvtsi2sd %rbp, %xmm0
divsd 0x26941(%rip), %xmm0    # 0x5c028
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x9560
movq %rax, %rbp
movl $0x5, %edx
movq %rax, %rdi
leaq 0x26b83(%rip), %rsi     # 0x5c28c
callq 0x93a0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x9320
movsbl %al, %esi
movq %rbp, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9220
leaq 0x52cc3(%rip), %rax     # 0x88400
cmpl $0x2, (%rax)
jne 0x3582d
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x9580
movb $0x1, 0x68(%rsp)
cmpb $0x1, 0x68(%r14)
jne 0x35773
movq %r14, %rdi
callq 0x383ec
jmp 0x3577b
movq %r14, %rdi
callq 0x3857c
addl %eax, %r12d
leaq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x9580
movb $0x0, 0x68(%rsp)
movq 0x50(%rsp), %rax
subq 0x40(%rsp), %rax
movq 0x58(%rsp), %rbp
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
subq 0x48(%rsp), %rbp
addq %rax, %rbp
addq 0x30(%rsp), %rbp
movq %rbp, 0x30(%rsp)
movl $0x2c, %edx
movq %r13, %rdi
leaq 0x39b14(%rip), %rsi     # 0x6f2dd
callq 0x93a0
xorps %xmm0, %xmm0
cvtsi2sd %rbp, %xmm0
divsd 0x2684a(%rip), %xmm0    # 0x5c028
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x9560
movq %rax, %rbp
movl $0x5, %edx
movq %rax, %rdi
leaq 0x26a8c(%rip), %rsi     # 0x5c28c
callq 0x93a0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x9320
movsbl %al, %esi
movq %rbp, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9220
movl $0x6, %edx
movq %r13, %rdi
leaq 0x39ace(%rip), %rsi     # 0x6f30a
callq 0x93a0
movq %r13, %rdi
movl %r12d, %esi
callq 0x9640
movq %rax, %rbp
movl $0x6, %edx
movq %rax, %rdi
leaq 0x39ab3(%rip), %rsi     # 0x6f311
callq 0x93a0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x9320
movsbl %al, %esi
movq %rbp, %rdi
callq 0x9040
movq %rax, %rdi
callq 0x9220
testl %r15d, %r15d
leaq 0x20(%rsp), %r15
movq %rbx, %rbp
jne 0x354d3
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 0x358c8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x9340
movq %rbx, %rdi
callq 0x9670