---
title: "Solve Nimbus Intermediate"
method: POST
path: "/method/nimbus/intermediate"
---

# Solve Nimbus Intermediate

`POST /method/nimbus/intermediate`

Solve intermediate solutions by forwarding the request to generic intermediate endpoint with context nimbus.

## Request body

- IntermediateSolutionRequest — Model of the request to solve intermediate solutions between two solutions.
  - `problem_id` integer, required
  - `session_id` integer, nullable
  - `parent_state_id` integer, nullable
  - `context` string, nullable
  - `scalarization_options` object, nullable
  - `solver` string, nullable
  - `solver_options` object, nullable
  - `num_desired` integer, nullable
  - `reference_solution_1` SolutionInfo, required — Used when we wish to reference a solution in some `StateDB` stored in the database.
    - `state_id` integer, required
    - `solution_index` integer, required
    - `name` string, nullable — Name to be given to the solution. Optional.
  - `reference_solution_2` SolutionInfo, required — Used when we wish to reference a solution in some `StateDB` stored in the database.
    - `state_id` integer, required
    - `solution_index` integer, required
    - `name` string, nullable — Name to be given to the solution. Optional.

## Response `200`

Successful Response

- NIMBUSIntermediateSolutionResponse — The response from NIMBUS classification endpoint.
  - `state_id` integer, nullable, required — The newly created state id
  - `reference_solution_1` object, required — The first solution used when computing intermediate points.
  - `reference_solution_2` object, required — The second solution used when computing intermediate points.
  - `current_solutions` SolutionReferenceResponse[], required — The solutions from the current iteration of NIMBUS.
    - `name` string, nullable, required
    - `solution_index` integer, nullable, required
    - `state_id` integer, required
    - `objective_values` object, nullable, required
    - `variable_values` object, nullable, required
  - `saved_solutions` SolutionReferenceResponse[], required — The best candidate solutions saved by the decision maker.
    - `name` string, nullable, required
    - `solution_index` integer, nullable, required
    - `state_id` integer, required
    - `objective_values` object, nullable, required
    - `variable_values` object, nullable, required
  - `all_solutions` SolutionReferenceResponse[], required — All solutions generated by NIMBUS in all iterations.
    - `name` string, nullable, required
    - `solution_index` integer, nullable, required
    - `state_id` integer, required
    - `objective_values` object, nullable, required
    - `variable_values` object, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api.md) · [All operations](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/industrial-optimization-group/desdeo-fast-api/revisions/c24fa4e23380/schema)
