// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x1
popq %r15
leaq 0x10(%rsp), %r12
movq 0x648cd(%rip), %r13     # 0x96f70
leaq 0x1ebe2(%rip), %rbp     # 0x5128c
testl %r15d, %r15d
je 0x32873
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 0xb0(%rsp), %r15
movq %r15, %rdi
callq 0xb808
movq %r14, %rdi
callq 0x3289a
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0x9470
movq (%r14), %rax
movq %r14, %rdi
movq %r12, %rsi
callq *0x18(%rax)
movq %r12, %rdi
callq 0x9708
movq %r15, %rdi
callq 0xba34
movq %r13, %rdi
leaq 0x3a25d(%rip), %rsi     # 0x6c984
callq 0x9330
cvtsi2sdq 0xb0(%rsp), %xmm0
movsd 0x1e8ea(%rip), %xmm1    # 0x51028
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq %rax, %rdi
callq 0x9270
movq %rax, %rdi
movq %rbp, %rsi
callq 0x9330
movq %rax, %rdi
callq 0x9170
movq %rbp, %rbx
leaq 0x64c85(%rip), %rbp     # 0x973f0
cmpl $0x0, (%rbp)
je 0x32873
leaq 0x70(%rsp), %r12
movq %r12, %rdi
callq 0xb808
movq %r14, %rdi
callq 0x34952
movl %eax, %r15d
movq %r12, %rdi
callq 0xba34
movq %r13, %rdi
leaq 0x3a1fc(%rip), %rsi     # 0x6c99b
callq 0x9330
cvtsi2sdq 0x70(%rsp), %xmm0
divsd 0x1e875(%rip), %xmm0    # 0x51028
cvtsd2ss %xmm0, %xmm0
movq %rax, %rdi
callq 0x9270
movq %rax, %rdi
movq %rbx, %rsi
callq 0x9330
movq %rax, %rdi
callq 0x9170
cmpl $0x2, (%rbp)
movq %rbx, %rbp
jne 0x32838
leaq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0xb808
movq %r14, %rdi
callq 0x3330e
addl %eax, %r15d
movq %r12, %rdi
callq 0xba34
movq %r13, %rdi
leaq 0x3a1bc(%rip), %rsi     # 0x6c9c1
callq 0x9330
cvtsi2sdq 0x30(%rsp), %xmm0
divsd 0x1e80f(%rip), %xmm0    # 0x51028
cvtsd2ss %xmm0, %xmm0
movq %rax, %rdi
callq 0x9270
movq %rax, %rdi
movq %rbp, %rsi
callq 0x9330
movq %rax, %rdi
callq 0x9170
movq %r13, %rdi
leaq 0x3a1ac(%rip), %rsi     # 0x6c9ee
callq 0x9330
movq %rax, %rdi
movl %r15d, %esi
callq 0x9610
movq %rax, %rdi
leaq 0x3a199(%rip), %rsi     # 0x6c9f5
callq 0x9330
movq %rax, %rdi
callq 0x9170
leaq 0x10(%rsp), %r12
jmp 0x326aa
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x9708
movq %rbx, %rdi
callq 0x9640