Skip to content

Developer's Guide

H. Joe Lee edited this page Apr 5, 2022 · 20 revisions

Customizing Data Placement Engine

Data Placement Engine (DPE) is the heart of Hermes performance. Developers may want to replace the default engine using different optimization algorithms.

Codes for testing DPE

You can quickly check how DPE is tested.

Codes for calling Problem Solver

This is the code that you need to modify.

If you look at the line 206 Status result; in MinimizeIoTimePlacement(), the default value of result is always HERMES_SUCCESS as defined in src/hermes_status.h.

Steps for replacing OR-Tools-based Problem Solver

  1. Replace the header file #include "ortools/linear_solver/linear_solver.h".
Clone this wiki locally