Ejemplo n.º 1
0
        // Fonctions Solveurs//

        public override bool Init()
        {
            if (CoinMP.CoinInitSolver("") == 0)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }
Ejemplo n.º 2
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);
        }