Esempio n. 1
0
        public formCoinMP()
        {
            int           result;
            int           length;
            double        version;
            StringBuilder solverName = new StringBuilder(100);

            InitializeComponent();

            result  = CoinMP.CoinInitSolver("");
            length  = CoinMP.CoinGetSolverNameBuf(solverName, solverName.Capacity);
            version = CoinMP.CoinGetVersion();

            LogHandler.EmptyText(txtLog);
            LogHandler.WriteLine(txtLog, "Solver: " + solverName);
            LogHandler.WriteLine(txtLog, "Version: " + version);
        }