メインコンテンツへスキップ

GPU PDHG part on separate instance

回答済み

コメント

1件のコメント

  • David Torres Sanchez
    • Gurobi Staff

    Hi Per,

    Thanks for getting in touch and for testing the beta!

    This seems like quite a specific application. There would be a significant overhead between the machines (GPU → host → other machine). Have you tried benchmarking against defaults or barrier? 

    What you can also try is solve the problem with Crossover=0 Method=6 PDHGGPU=1 Threads=1 and save the solution to an .attr file. Once this is done you can kick off the next GPU job (with the same parameters), and a new CPU job that runs crossover on the solution (you can do this by reading the .attr file and Method=6 PDHGIterLimit=1 Threads=1 this will skip straight to crossover after presolve and use a single thread. You will ~~not~~ only be able to queue n-1 CPU-only jobs as well as a single GPU job.

    But my guess would be that this would slower than solving in parallel or even serial with defaults.

    Cheers,
    David

    0

サインインしてコメントを残してください。