From richard at arctangent.com.au Wed Dec 3 23:54:35 2014 From: richard at arctangent.com.au (Richard Hammer) Date: Thu, 4 Dec 2014 12:54:35 +0800 Subject: [MsVisualStudio] calling clp library routines from Fortran in MSVS Message-ID: <001801d00f7e$68183fe0$3848bfa0$@com.au> I'm hoping to test and evaluate COIN-OR CLP by linking the available pre-compiled libraries into some mining-optimisation software. This software already works with CPLEX, LINDO, GUROBI, and XA. I'm using MSVS 9 and Intel Fortran, under Windows. CPLEX, LINDO, GUROBI and XA are LP solvers that are supplied by their publishers on a commercial basis. Supply is in the form of ready-to-link libraries, ie DLLs and LIBs. No source code. To build a release, I compile our mining optimization code only; I do not compile anything supplied by any of these solvers. Then I link it all together. The interface to each solver is specified by the supplier in detail, including how to call it from Fortran. We have Fortran code that is dedicated to each solver. The interfaces are similar, but not identical. Users specify at run time which solver to use. I've not found any DLLs or LIBs specifically for CLP. I have found CoinMP.dll and CoinMP.lib on ?https://projects.coin-or.org/CoinMP/browser/stable/1.7/CoinMP/CoinMP.zip?fo rmat=raw. Related web pages say that much of the CLP functionality is included. I have also found "A Gentle Introduction to Optimization Solver Interface.pdf" and "Clp-refman.pdf" in 1.7.4\doc. It would be very helpful if there was a guide to the CLP solver with explanations of how to use it-how to submit an LP problem, what form it needs to be in, the form of the returned solution, etc. Which routines to call in what order? Interface or .sln files would be valuable to have. Your comments and suggestions would be appreciated. Richard Hammer -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at arctangent.com.au Wed Dec 3 23:56:39 2014 From: richard at arctangent.com.au (Richard Hammer) Date: Thu, 4 Dec 2014 12:56:39 +0800 Subject: [MsVisualStudio] calling clp library routines from Fortran in MSVS Message-ID: <001d01d00f7e$c1dd8300$45988900$@com.au> I'm hoping to test and evaluate COIN-OR CLP by linking the available pre-compiled libraries into some mining-optimisation software. This software already works with CPLEX, LINDO, GUROBI, and XA. I'm using MSVS 9 and Intel Fortran, under Windows. CPLEX, LINDO, GUROBI and XA are LP solvers that are supplied by their publishers on a commercial basis. Supply is in the form of ready-to-link libraries, ie DLLs and LIBs. No source code. To build a release, I compile our mining optimization code only; I do not compile anything supplied by any of these solvers. Then I link it all together. The interface to each solver is specified by the supplier in detail, including how to call it from Fortran. We have Fortran code that is dedicated to each solver. The interfaces are similar, but not identical. Users specify at run time which solver to use. I've not found any DLLs or LIBs specifically for CLP. I have found CoinMP.dll and CoinMP.lib on ?https://projects.coin-or.org/CoinMP/browser/stable/1.7/CoinMP/CoinMP.zip?fo rmat=raw. Related web pages say that much of the CLP functionality is included. I have also found "A Gentle Introduction to Optimization Solver Interface.pdf" and "Clp-refman.pdf" in 1.7.4\doc. It would be very helpful if there was a guide to the CLP solver with explanations of how to use it-how to submit an LP problem, what form it needs to be in, the form of the returned solution, etc. Which routines to call in what order? Interface or .sln files would be valuable to have. Your comments and suggestions would be appreciated. Richard Hammer -------------- next part -------------- An HTML attachment was scrubbed... URL: