treborsky / operationalresearchapp Goto Github PK
View Code? Open in Web Editor NEWApplication for operational research class
Application for operational research class
In the snipper below, I encountered a problem, where I can't update the std::vector element or add new ones. I don't think it's because of the new C++20. The compiler error is as follows:
__ function 'operator[]' which returns const-qualified type 'std::vector::const_reference' (aka 'const Ingredient &') declared here __
__ candidate function template not viable: 'this' argument has type 'const std::vector', but method is not marked const __
OperationalResearchApp/model/src/model/model.cpp
Lines 25 to 87 in 824eab0
nlohmann's json parser seems to work only on unix systems (Ubuntu 18.04 tested). We need windows compatibility, so we need to implement some sort of conversion that gets this done. We can do it in two ways:
Algorythm (function)
Input: windows formatted or linux formatted .json file
Output: linux formatted .json file
This is a bad idea, because the linux binary won't get a windows file
Preprocessor logic
If we add proper logic to our code, it will compile different parser versions for linux and windows builds.
I think it's the better idea tbh.
I don't know why, but I'm having trouble with parsing regular strings into std::size_t variables.
We need a model that we can optimize, so that's what we should implement at first. I propose we create a library we can link to, which will contain all data structures and logic of the mathematical model.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.