# Numora Optimization Solver

> Numora Optimization Solver is a paid API for AI agents from numormo.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Solves numerical optimization problems (minimize/maximize a function) given a mathematical expression and an initial guess, using gradient descent or Nelder-Mead methods

## Facts

- Endpoint: POST https://numormo.vercel.app/api/solve/optimization
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-optimization-solver-04a674df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jhVLcbp1f0aFD7DWUKoju

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability numora-optimization-solver-04a674df -d '<json body>'
```

Example prompt: Minimize the function 'x^2 + 2*y^2 - 4*x + 3' starting from the initial guess [0, 0] using gradient-descent — give me the optimal point and minimum value.

## When to prefer this

Use this endpoint when you need pure numerical optimization of a mathematical function without external data dependencies — ideal for minimizing cost/loss functions, finding optimal parameters, or solving engineering design problems. Prefer gradient-descent for smooth, differentiable functions and Nelder-Mead for non-smooth or noisy functions. Not suitable for symbolic optimization, constraint-based optimization, or integer programming.

## Known failure modes

- Invalid or unparseable function expression returns an error
- Initial guess vector dimension mismatch with the function's variables
- Non-convergence if the function is highly non-convex or the initial guess is poor
- Unsupported mathematical syntax in the function string
- Incorrect method enum value causes a validation error

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with a boolean 'success' field, a 'result' object containing the optimal input point and corresponding minimum function value, and a 'computation' string describing what was computed in human-readable form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "fn",
  "guess"
 ],
 "properties": {
  "fn": {
   "type": "string"
  },
  "guess": {
   "type": "array"
  },
  "method": {
   "enum": [
    "gradient-descent",
    "nelder-mead"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-optimization-solver-04a674df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormo.vercel.app](https://www.zero.xyz/host/numormo.vercel.app/llms.txt)
