{"uid":"cap_tg9lwEN3oGZMXCpS1olGw","slug":"numora-mathematical-optimization-solver-58abf501","name":"Numora — Mathematical Optimization Solver","description":"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.","url":"https://numomo.vercel.app/api/solve/optimization","method":"POST","headers":{},"bodySchema":{"type":"object","required":["fn","guess"],"properties":{"fn":{"type":"string"},"guess":{"type":"array"},"method":{"type":"string"}}},"responseSchema":{"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"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j8c1UOKpDR3MTMaHtH_md","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Finds local or global minima/maxima of a given mathematical function starting from an initial guess point","exampleAgentPrompt":"Can you find the minimum of the function f(x, y) = (x - 3)^2 + (y + 1)^2 using gradient descent, starting from the initial guess [0, 0]?","exampleUseCases":[{"title":"Minimize machine learning loss function","prompt":"I have a loss function defined as f(w) = (w - 2.5)^2 + 0.5*w^2. Can you minimize it numerically starting from an initial guess of [0] using the default method?"},{"title":"Find optimal pricing point","prompt":"I modeled my profit function as f(p) = -(100*p - p^2 - 200). Find the price p that maximizes profit by minimizing the negated function, starting from a guess of [50]."},{"title":"Engineering parameter optimization","prompt":"My engineering cost function is f(x, y, z) = x^2 + 2*y^2 + 3*z^2 - x*y + z. Find the optimal values of x, y, and z that minimize this, starting from the initial guess [1, 1, 1]."}],"resultDescription":"Returns a JSON object with a success boolean, a result object containing the optimal input values and the minimum function value found, and a human-readable computation string describing what was solved and the outcome.","failureModes":["Invalid or unparseable function expression returns an error","Divergence or non-convergence if initial guess is far from any minimum","Incorrect result if function is multimodal and local minimum is found instead of global","Missing required fields (fn or guess) returns a 400-level error","Unsupported optimization method string may fall back to default or error"],"whenToPreferThis":"Choose this endpoint when you need to numerically find the minimum (or maximum by negation) of a mathematical function expressed as a string, especially for unconstrained optimization problems. Prefer it over symbolic solvers when you need a fast numerical answer from an initial guess. It is particularly useful for multi-variable functions where analytical solutions are impractical. Use it when you do not have external dependencies or heavy libraries available and need a pure math computation via a lightweight API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:35.809Z","isFirstParty":false}