NimbusSaveRequest

class desdeo_mcdm.interactive.NimbusSaveRequest(solution_vectors, objective_vectors)[source]

Bases: desdeo_tools.interaction.request.BaseRequest

A request to handle archiving of the solutions computed with NIMBUS.

Parameters
  • solution_vectors (List[np.ndarray]) – A list of numpy arrays each representing a decision variable vector.

  • objective_vectors (List[np.ndarray]) – A list of numpy arrays each representing an objective vector.

Note

The objective vector at position ‘i’ in objective_vectors should correspond to the decision variables at position ‘i’ in solution_vectors.

Attributes Summary

response

Methods Summary

validator(response)

Validates a response dictionary.

Attributes Documentation

response

Methods Documentation

validator(response)[source]

Validates a response dictionary. The dictionary should contain the keys ‘indices’.

‘indices’ should be a list of integers representing an index to the lists solutions_vectors and objective_vectors.

Parameters

response (Dict) – See the documentation for validator.

Raises

NimbusException – Some discrepancy is encountered in the parsing of response.

Return type

None