Example #1
0
        public COBYLATEST()
        {
            #region Initialization Common Blocks

            CommonBlock Default = new CommonBlock(0, 1, 0, 0);
            #endregion
            #region Dependencies (Initialization)

            TRSTLP trstlp = new TRSTLP();
            CALCFC calcfc = new CALCFC(Default);
            COBYLB cobylb = new COBYLB(calcfc, trstlp);
            COBYLA cobyla = new COBYLA(cobylb);
            #endregion
            #region Set Dependencies

            this._cobyla = cobyla;
            #endregion
            #region Common varaible Initialization

            #region Common Block: Default Initialization

            this._default = Default;
            NPROB         = Default.intData[0];
            #endregion
            #endregion
        }
Example #2
0
        public MainProgram()
        {
            #region Set Dependencies

            trstlp     = new TRSTLP();
            calcfc     = new CALCFC(Default);
            cobylb     = new COBYLB(calcfc, trstlp);
            cobyla     = new COBYLA(cobylb);
            cobylatest = new COBYLATEST(cobyla, Default);

            #endregion
        }
Example #3
0
        public COBYLATEST(COBYLA cobyla, CommonBlock Default)
        {
            #region Set Dependencies

            this._cobyla = cobyla;
            #endregion
            #region Common varaible Initialization

            #region Common Block: Default Initialization

            this._default = Default;
            NPROB         = Default.intData[0];
            #endregion
            #endregion
        }
Example #4
0
        public CobylaDriver()
        {
            CALCFC fun = new CALCFC(InternalFunction);

            this.MeCOBYLA = new COBYLA(fun);
        }