> Continuous Optimization > Solving Problems with Quadratic Constraints (QCP) > Determining Problem Type

Concert Technology treats all models as capable of containing quadratic constraints. In other words, applications written in Concert Technology are capable of handling quadratic constraints. These constraints can be added or deleted at will in your application. When extracting a model with a quadratic constraint, IloCplex will automatically detect it as a QCP and make the required adjustments to its internal data structures.

When routines of the Callable Library read a problem from a file, they are capable of detecting quadratic constraints. If they detect a quadratic constraint in the model they read, Callable Library routines will automatically set the problem type as QCP. If there are no quadratic constraints, then Callable Library routines consider whether there are any quadratic coefficients in the objective function. If there is a quadratic term in the objective function, then Callable Library routines automatically set the problem type as QP, as explained in Changing Problem Type in QPs.

In the Interactive Optimizer, a problem containing a quadratic constraint, as denoted by square brackets, is automatically identified as QCP when the problem is read from a file or entered interactively.

ILOG CPLEX supports the definition of quadratic constraints in .sav files and in .lp files. In .lp files, you can state your quadratic constraints in the subject to section of the file.