Problem query routines and methods access information about a problem object after it has been created. They can be used at any time, even after problem modifications.
Note: Names of classes, methods, and symbolic constants in the .NET API correspond very closely to those in the Java API with these systematic exceptions:
Ilo
, whereas in .NET they do not.
addCols
,
whereas in the .NET API, the names of methods conventionally
begin with an uppercase (that is, capital) letter, for example,
AddCols
according to Microsoft practice.
Purpose |
Java API |
C++ API |
C API |
---|---|---|---|
Accesses number of quadratic nonzeros |
---- |
---- |
|
Accesses number of quadratic variables |
---- |
---- |
|
Accesses a quadratic coefficient value |
IloObjective.getExpr |
IloObjective::getExpr |