qpSetupInfeasible: Configure QP environment for diagnostics

Description Usage Arguments Value

View source: R/lp.R

Description

This function separates the shape constraints from the QP environment. That way, the model can be solved without any shape constraints, which is the primary cause of infeasibility. This is done in order to check which shape constraints are causing the model to be infeasible. The QP model must be passed as an environment variable, under the entry $model. See lpSetup.

Usage

1
qpSetupInfeasible(env, rescale)

Arguments

env

The LP environment

rescale

boolean, set to TRUE if the MTR components should be rescaled to improve stability in the LP/QP/QCP optimization.

Value

Nothing, as this modifies an environment variable to save memory.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.