Comments (7)
Hi again! I just wanted to report back that, yes, it can work on windows. A few additions had to be added to the coin_cbc_sys
to get the path for the cbc libs and setting the link kind to static but after that it works. Hopefully the pull request for that change will get merged and then good_lp
should work on windows with minimal fuss. 👍
from good_lp.
That should probably be reported to https://github.com/KardinalAI/coin_cbc instead of here
from good_lp.
Thanks, will do.
Although, if you do happen to have heard of it working or if you haven't heard of it working, that'd be nice to know too.
from good_lp.
I'm also facing the same issue of not being able to use good_lp on Windows. Could you please share the steps you took to make it work? I would greatly appreciate it!
from good_lp.
Unfortunately I can't. When I removed my clone from my account the PR also got removed which had the setup I was able to get working. That was as far as I went on the road to using COIN and good_lp. I ended up using HiGHS for my end solution.
from good_lp.
Thank you for your response! I was able to use good_lp (CBC) on Windows.
By renaming the "libCbcSolver.lib" file in the lib folder of coinor-cbc for Windows to "CbcSolver.lib" and adding the following code to build.rs in coin_cbc_sys, I was able to make it work.
fn main() {
let _ = pkg_config::probe_library("cbc");
println!(r"cargo:rustc-link-search= *path_to_CbcSolver.lib* ");
println!(r"cargo:rustc-link-lib=static=CbcSolver");
println!(r"cargo:rustc-link-lib=static=libCbc");
println!(r"cargo:rustc-link-lib=static=libCgl");
println!(r"cargo:rustc-link-lib=static=libCoinUtils");
println!(r"cargo:rustc-link-lib=static=libClp");
println!(r"cargo:rustc-link-lib=static=libOsi");
println!(r"cargo:rustc-link-lib=static=libOsiClp");
}
from good_lp.
Good. You should make a PR in coin_cbc_sys!
from good_lp.
Related Issues (20)
- Add SCIP support HOT 9
- Set coin_cbc verbosity HOT 6
- Add support for RELP HOT 4
- Creating a variable bounded by real numbers HOT 2
- `From<Expression> not implemented for f64` HOT 4
- `mul` with a float doesn't seem to to the right thing for binary variables HOT 1
- How can I set model/solver options, especially for HiGHS ? HOT 1
- Add Gurobi Support HOT 3
- really need an example that had these properties HOT 2
- Making CoinCbcProblem cloneable...
- Add support for Clarabel.rs HOT 2
- Small documentation error HOT 3
- HiGHS does depend on additional libs HOT 2
- Suppressing Cbc command line output HOT 1
- cannot multiply `usize` by `good_lp::Variable` in constraint on integer variable HOT 5
- Add const to determine at compile-time what default_solver resolves to HOT 1
- Add support for Windows HOT 1
- External solver failing due to LP file format HOT 5
- troubles adding a constraint with a count of bool variables HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from good_lp.