amplify.client.GurobiClientResultStatus

class GurobiClientResultStatus

A class that provides information about the status of optimization.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

Attributes

optimal

Whether the solution is optimal or not.

status_code

Description of the status.

time_limit

Whether the optimization ended due to time limit or not.

value

The value of the status code.

property optimal

Whether the solution is optimal or not.

Type

bool

property status_code

Description of the status.

Type

str

property time_limit

Whether the optimization ended due to time limit or not.

Type

bool

property value

The value of the status code.

Type

int