Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

The constraints matrix and Rhs from IloModel

  • 1.  The constraints matrix and Rhs from IloModel

    Posted Thu January 03, 2008 02:23 AM

    Originally posted by: SystemAdmin


    [Bill said:]

    Hi,

    I was wondering how one can extract from an IloModel the constraints matrix and the Rhs. 

    Best regards,
    Bill
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: The constraints matrix and Rhs from IloModel

    Posted Thu January 03, 2008 08:56 PM

    Originally posted by: SystemAdmin


    [ChrisHane said:]

    Hello Bill,

    Concert is designed primarily as a modeling language so that the user works with a higher level abstraction rather than directly with the matrix elements.  With Concert each object in the IoModel is derived from IloExtractable.  These objects have their lifetime managed by IloEnv.  IloEnv also provides methods for getting each extractable in the environment.  These getter's assume you will be able to determine the correct derived class for each extractable.  See the documentation for IloEnv and IloExtractable for these interfaces.

    That's the technical answer, but what are you trying to do that makes you want this feature?  There may be better ways to implement it other than direct matrix manipulation.

    Chris
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: The constraints matrix and Rhs from IloModel

    Posted Fri January 04, 2008 02:50 AM

    Originally posted by: SystemAdmin


    [Bill said:]

    Hi Chris,

    Thanks for replay.

    I need acces to the matrix (associated with a given IloModel) to test, for example, the feasibility of some given point. Also, I want to build an interface between Concert and Coin-Cbc. This would be easier (but not necessary) if I can have acces to the matrix and the Rhs.

    Best regards,
    Bill



    #CPLEXOptimizers
    #DecisionOptimization