As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a linear programming solver for C#. In the other words I'm looking for a library for C# that solves linear programming problems.
I need an easy to use library (so I can learn how to use it quickly), but it would be nice if it supported some features as automatic absolute values conversion (so I don't have to program the conversion myself). It is important that the library should be for free (not necessarily open source).
Good documentation is huge advantage for me. 10%-20% worse performance is not critical for my project.
Thanks for your answers
Math.NET
Read C# linear algebra library
EDIT: Check out http://en.wikipedia.org/wiki/Linear_programming#Solvers_and_scripting_.28programming.29_languages
This one might be what your looking for though. Says it works with .Net
http://lpsolve.sourceforge.net/5.5/
You can use WNLIB, but it's plain C so you have to wrap it in a DLL library and then use it with C#.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Other than AWT, Swing, SWT (Java) - are there any good open source Java or C# UI libraries around? In particular, libs intended or at least usable for strategy gaming dev? (The visual appearance of the UI would need to be highly dynamic and easy to re-skin obviously.) Engines or "frameworks" which include this functionality are valid answers as well (of course I even more doubt that those exist).
As far as I can tell - there's not a single thing like this out there. Anyone able to prove me wrong?
Not sure about Java, but for C# I would look at either XNA or Unity to start out with.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is it just a matter of preference and familiarity or the language makes an actual difference?
Both are treated as first-class supported languages in terms of the Kinect SDKs, but the C# version is I think just a wrapper around the C++ version.
Standard managed C# vs unmanaged C++ arguments apply from this point forwards.
My preference? I know C# very well and am comfortable using it, so I'd start with that. If I identify performance issues because I used C# I can tackle those later on, but I seriously doubt that would ever happen.
Don't forget, you could always dip into unsafe C# in order to improve performance on any image processing logic you have - and still keep the managed support.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I would like to be able to capture screenshots with C++ 'using a lot of compression', and/or more importantly 'uses very few system resources when capturing'. I have been looking for concise, well-written examples, and I think I have found a few. What I've found is that most of the examples are in C# and very few are in C++. I'm sure there's a somewhat simple/common answer, and it's foolish to ask. Why do people use C# instead of C++?
Why do people use C# instead of C++?
Because it's easier.
C++ gives you a lot of control over everything, and with that extra control comes extra responsibility and more work. If you just want to get something done quickly, using C# is usually sufficient.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a library to solve ODE for my university thesis' project...
The library I'd like to find had to have this features:
Event Calculus (something like a continuous calculus stopped by internal event, like constraint reached and other events)
I'm using C# 4.0 so i think any library will be ok
Have good performance
No $$ ^^"
Created a dedicated ODE solving library - simple to use based on C++ Boost.OdeInt core.
What I have done before is either code in something from Numerical Recipies or compile a fortran dll (from NETLIB for example) and call it using [DllImport()]. Doing a call back is kind of a hasle, but I figured it out using the examples from NAG.
Also they may offer an academic version of NAG Library for.NET
Looks like people on SO like MATLAB from .NET http://www.mathworks.com/products/netbuilder/
Also, Math.NET.
Sources:
Solving partial differential equations using C#
https://stackoverflow.com/questions/1387430/recommended-math-library-for-c-net
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've found a similar project here: Sentiment analysis for Twitter in Python . However, I'm working on C# and need to use a naive Bayesian Classifier that is open source in the same language. Unless someone can shed light on how I can utilize a python Bayesian Classifier to achieve the same goals. Any ideas?
I successfully used the code from this CodeProject article in a project a few years ago and it's still working beautifully with ~99% accuracy.
If you don't strictly need naive Bayes, I would suggest libshogun. It has a huge number of high-quality classifiers, and it apparently has been successfully built for win32 on cygwin. After that's built you can just p/invoke to the DLLs from C#. I think you will find it difficult to find a classifier library written in C# due to the often performance-heavy nature of classification, so your best bet is to call a native library such as this.
This might be something to look at:
https://github.com/joelmartinez/nBayes
https://github.com/joelmartinez/nBayes/wiki