# Pre-Match Processing

## Ithaca Matching Engine (IME)

IME is a multi-product cross-orderbook matching engine that implements:&#x20;

* [Frequent Batch Auctions (FBA)](/docs/architecture/pre-match-processing/frequent-batch-auctions-fba.md) - Ithaca markets operate at discrete frequent intervals via auctions rather than through continuous order books.
* [Risk Sharing Building Blocks (RSBBs) ](/docs/architecture/pre-match-processing/risk-sharing-building-blocks-rsbb.md)- Statically replicable derivatives are decomposed into / recomposed from RSBBs using put-call parity and funding-option equivalence relationships directly incorporated into the matching engine. Matching is done at the "atomic" level.&#x20;
* [Mixed Integer Linear Programming (MILP) Optimization](/docs/architecture/pre-match-processing/mixed-integer-linear-programming-milp-optimization.md) – MILP allows searching for clearing prices and associated sets of consistent orders satisfying these prices that maximize executed volume and satisfy best execution requirements.
* [Portfolio Dominance ](/docs/architecture/pre-match-processing/portfolio-dominance.md)- Orders are consolidated and matched to ensure protocol assets exceed liabilities so that matching is done under riskless conditions. The engine takes no market or credit risk, ensuring payoffs are covered under all states of the world.&#x20;

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ithacaprotocol.io/docs/architecture/pre-match-processing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
