![]() |
HyperX.Solver.Api 1.23.0
The HyperX Solver Application Programming Interface
|
Advanced use case.
If your margin checks or other core calculations are performed in an external tool, the most performant way to hook that up to HyperX is to find or expose a function that can be called "in-process" from your custom HyperX criterion.
For managed code, such as C#, you may be able to load and call your library with types like C#'s AssemblyLoadContext.
For unmanaged code, such as C++ or Fortran, you may be able to load and call your library with C#'s DllImport.
If the library you call into is Windows-only, your criterion will not be able to run on Linux with the rest of Solver.
If you must call a command line or other slow-running tool to compute your margins, you likely wish to use both Batched Loads and Preprocessing.