Struct mosek::Callbackcode

source ·
#[non_exhaustive]
pub struct Callbackcode;
Expand description

Progress callback codes

Implementations§

source§

impl Callbackcode

source

pub const BEGIN_BI: i32 = 0i32

The basis identification procedure has been started.

source

pub const BEGIN_CONIC: i32 = 1i32

The callback function is called when the conic optimizer is started.

source

pub const BEGIN_DUAL_BI: i32 = 2i32

The callback function is called from within the basis identification procedure when the dual phase is started.

source

pub const BEGIN_DUAL_SENSITIVITY: i32 = 3i32

Dual sensitivity analysis is started.

source

pub const BEGIN_DUAL_SETUP_BI: i32 = 4i32

The callback function is called when the dual BI phase is started.

source

pub const BEGIN_DUAL_SIMPLEX: i32 = 5i32

The callback function is called when the dual simplex optimizer started.

source

pub const BEGIN_DUAL_SIMPLEX_BI: i32 = 6i32

The callback function is called from within the basis identification procedure when the dual simplex clean-up phase is started.

source

pub const BEGIN_INFEAS_ANA: i32 = 7i32

The callback function is called when the infeasibility analyzer is started.

source

pub const BEGIN_INTPNT: i32 = 8i32

The callback function is called when the interior-point optimizer is started.

source

pub const BEGIN_LICENSE_WAIT: i32 = 9i32

Begin waiting for license.

source

pub const BEGIN_MIO: i32 = 10i32

The callback function is called when the mixed-integer optimizer is started.

source

pub const BEGIN_OPTIMIZER: i32 = 11i32

The callback function is called when the optimizer is started.

source

pub const BEGIN_PRESOLVE: i32 = 12i32

The callback function is called when the presolve is started.

source

pub const BEGIN_PRIMAL_BI: i32 = 13i32

The callback function is called from within the basis identification procedure when the primal phase is started.

source

pub const BEGIN_PRIMAL_REPAIR: i32 = 14i32

Begin primal feasibility repair.

source

pub const BEGIN_PRIMAL_SENSITIVITY: i32 = 15i32

Primal sensitivity analysis is started.

source

pub const BEGIN_PRIMAL_SETUP_BI: i32 = 16i32

The callback function is called when the primal BI setup is started.

source

pub const BEGIN_PRIMAL_SIMPLEX: i32 = 17i32

The callback function is called when the primal simplex optimizer is started.

source

pub const BEGIN_PRIMAL_SIMPLEX_BI: i32 = 18i32

The callback function is called from within the basis identification procedure when the primal simplex clean-up phase is started.

source

pub const BEGIN_QCQO_REFORMULATE: i32 = 19i32

Begin QCQO reformulation.

source

pub const BEGIN_READ: i32 = 20i32

MOSEK has started reading a problem file.

source

pub const BEGIN_ROOT_CUTGEN: i32 = 21i32

The callback function is called when root cut generation is started.

source

pub const BEGIN_SIMPLEX: i32 = 22i32

The callback function is called when the simplex optimizer is started.

source

pub const BEGIN_SIMPLEX_BI: i32 = 23i32

The callback function is called from within the basis identification procedure when the simplex clean-up phase is started.

source

pub const BEGIN_SOLVE_ROOT_RELAX: i32 = 24i32

The callback function is called when solution of root relaxation is started.

source

pub const BEGIN_TO_CONIC: i32 = 25i32

Begin conic reformulation.

source

pub const BEGIN_WRITE: i32 = 26i32

MOSEK has started writing a problem file.

source

pub const CONIC: i32 = 27i32

The callback function is called from within the conic optimizer after the information database has been updated.

source

pub const DUAL_SIMPLEX: i32 = 28i32

The callback function is called from within the dual simplex optimizer.

source

pub const END_BI: i32 = 29i32

The callback function is called when the basis identification procedure is terminated.

source

pub const END_CONIC: i32 = 30i32

The callback function is called when the conic optimizer is terminated.

source

pub const END_DUAL_BI: i32 = 31i32

The callback function is called from within the basis identification procedure when the dual phase is terminated.

source

pub const END_DUAL_SENSITIVITY: i32 = 32i32

Dual sensitivity analysis is terminated.

source

pub const END_DUAL_SETUP_BI: i32 = 33i32

The callback function is called when the dual BI phase is terminated.

source

pub const END_DUAL_SIMPLEX: i32 = 34i32

The callback function is called when the dual simplex optimizer is terminated.

source

pub const END_DUAL_SIMPLEX_BI: i32 = 35i32

The callback function is called from within the basis identification procedure when the dual clean-up phase is terminated.

source

pub const END_INFEAS_ANA: i32 = 36i32

The callback function is called when the infeasibility analyzer is terminated.

source

pub const END_INTPNT: i32 = 37i32

The callback function is called when the interior-point optimizer is terminated.

source

pub const END_LICENSE_WAIT: i32 = 38i32

End waiting for license.

source

pub const END_MIO: i32 = 39i32

The callback function is called when the mixed-integer optimizer is terminated.

source

pub const END_OPTIMIZER: i32 = 40i32

The callback function is called when the optimizer is terminated.

source

pub const END_PRESOLVE: i32 = 41i32

The callback function is called when the presolve is completed.

source

pub const END_PRIMAL_BI: i32 = 42i32

The callback function is called from within the basis identification procedure when the primal phase is terminated.

source

pub const END_PRIMAL_REPAIR: i32 = 43i32

End primal feasibility repair.

source

pub const END_PRIMAL_SENSITIVITY: i32 = 44i32

Primal sensitivity analysis is terminated.

source

pub const END_PRIMAL_SETUP_BI: i32 = 45i32

The callback function is called when the primal BI setup is terminated.

source

pub const END_PRIMAL_SIMPLEX: i32 = 46i32

The callback function is called when the primal simplex optimizer is terminated.

source

pub const END_PRIMAL_SIMPLEX_BI: i32 = 47i32

The callback function is called from within the basis identification procedure when the primal clean-up phase is terminated.

source

pub const END_QCQO_REFORMULATE: i32 = 48i32

End QCQO reformulation.

source

pub const END_READ: i32 = 49i32

MOSEK has finished reading a problem file.

source

pub const END_ROOT_CUTGEN: i32 = 50i32

The callback function is called when root cut generation is terminated.

source

pub const END_SIMPLEX: i32 = 51i32

The callback function is called when the simplex optimizer is terminated.

source

pub const END_SIMPLEX_BI: i32 = 52i32

The callback function is called from within the basis identification procedure when the simplex clean-up phase is terminated.

source

pub const END_SOLVE_ROOT_RELAX: i32 = 53i32

The callback function is called when solution of root relaxation is terminated.

source

pub const END_TO_CONIC: i32 = 54i32

End conic reformulation.

source

pub const END_WRITE: i32 = 55i32

MOSEK has finished writing a problem file.

source

pub const IM_BI: i32 = 56i32

The callback function is called from within the basis identification procedure at an intermediate point.

source

pub const IM_CONIC: i32 = 57i32

The callback function is called at an intermediate stage within the conic optimizer where the information database has not been updated.

source

pub const IM_DUAL_BI: i32 = 58i32

The callback function is called from within the basis identification procedure at an intermediate point in the dual phase.

source

pub const IM_DUAL_SENSIVITY: i32 = 59i32

The callback function is called at an intermediate stage of the dual sensitivity analysis.

source

pub const IM_DUAL_SIMPLEX: i32 = 60i32

The callback function is called at an intermediate point in the dual simplex optimizer.

source

pub const IM_INTPNT: i32 = 61i32

The callback function is called at an intermediate stage within the interior-point optimizer where the information database has not been updated.

source

pub const IM_LICENSE_WAIT: i32 = 62i32

MOSEK is waiting for a license.

source

pub const IM_LU: i32 = 63i32

The callback function is called from within the LU factorization procedure at an intermediate point.

source

pub const IM_MIO: i32 = 64i32

The callback function is called at an intermediate point in the mixed-integer optimizer.

source

pub const IM_MIO_DUAL_SIMPLEX: i32 = 65i32

The callback function is called at an intermediate point in the mixed-integer optimizer while running the dual simplex optimizer.

source

pub const IM_MIO_INTPNT: i32 = 66i32

The callback function is called at an intermediate point in the mixed-integer optimizer while running the interior-point optimizer.

source

pub const IM_MIO_PRIMAL_SIMPLEX: i32 = 67i32

The callback function is called at an intermediate point in the mixed-integer optimizer while running the primal simplex optimizer.

source

pub const IM_ORDER: i32 = 68i32

The callback function is called from within the matrix ordering procedure at an intermediate point.

source

pub const IM_PRESOLVE: i32 = 69i32

The callback function is called from within the presolve procedure at an intermediate stage.

source

pub const IM_PRIMAL_BI: i32 = 70i32

The callback function is called from within the basis identification procedure at an intermediate point in the primal phase.

source

pub const IM_PRIMAL_SENSIVITY: i32 = 71i32

The callback function is called at an intermediate stage of the primal sensitivity analysis.

source

pub const IM_PRIMAL_SIMPLEX: i32 = 72i32

The callback function is called at an intermediate point in the primal simplex optimizer.

source

pub const IM_QO_REFORMULATE: i32 = 73i32

The callback function is called at an intermediate stage of the conic quadratic reformulation.

source

pub const IM_READ: i32 = 74i32

Intermediate stage in reading.

source

pub const IM_ROOT_CUTGEN: i32 = 75i32

The callback is called from within root cut generation at an intermediate stage.

source

pub const IM_SIMPLEX: i32 = 76i32

The callback function is called from within the simplex optimizer at an intermediate point.

source

pub const IM_SIMPLEX_BI: i32 = 77i32

The callback function is called from within the basis identification procedure at an intermediate point in the simplex clean-up phase.

source

pub const INTPNT: i32 = 78i32

The callback function is called from within the interior-point optimizer after the information database has been updated.

source

pub const NEW_INT_MIO: i32 = 79i32

The callback function is called after a new integer solution has been located by the mixed-integer optimizer.

source

pub const PRIMAL_SIMPLEX: i32 = 80i32

The callback function is called from within the primal simplex optimizer.

source

pub const READ_OPF: i32 = 81i32

The callback function is called from the OPF reader.

source

pub const READ_OPF_SECTION: i32 = 82i32

A chunk of Q non-zeros has been read from a problem file.

source

pub const RESTART_MIO: i32 = 83i32

The callback function is called when the mixed-integer optimizer is restarted.

source

pub const SOLVING_REMOTE: i32 = 84i32

The callback function is called while the task is being solved on a remote server.

source

pub const UPDATE_DUAL_BI: i32 = 85i32

The callback function is called from within the basis identification procedure at an intermediate point in the dual phase.

source

pub const UPDATE_DUAL_SIMPLEX: i32 = 86i32

The callback function is called in the dual simplex optimizer.

source

pub const UPDATE_DUAL_SIMPLEX_BI: i32 = 87i32

The callback function is called from within the basis identification procedure at an intermediate point in the dual simplex clean-up phase.

source

pub const UPDATE_PRESOLVE: i32 = 88i32

The callback function is called from within the presolve procedure.

source

pub const UPDATE_PRIMAL_BI: i32 = 89i32

The callback function is called from within the basis identification procedure at an intermediate point in the primal phase.

source

pub const UPDATE_PRIMAL_SIMPLEX: i32 = 90i32

The callback function is called in the primal simplex optimizer.

source

pub const UPDATE_PRIMAL_SIMPLEX_BI: i32 = 91i32

The callback function is called from within the basis identification procedure at an intermediate point in the primal simplex clean-up phase.

source

pub const UPDATE_SIMPLEX: i32 = 92i32

The callback function is called from simplex optimizer.

source

pub const WRITE_OPF: i32 = 93i32

The callback function is called from the OPF writer.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.