Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
fruchtfolge-model
Advanced tools
This repo contains the simulation model used in the Fruchtfolge application.
The mixed-integer linear programming model returns a cropping (and catch crop) recommendation for each given plot.
Overall farm profits are maximised, considering restrictions such as:
are implemented in the model.
Infeasibilities are avoided by slack variables accompanied with high penalties. In case of an infeasible constraint, users are presented with the closest feasible solution to their problem.
The model is written in GAMS language. You need a valid GAMS license in order to run the model.
Fruchtfolge is a decision support model aimed to be operated by practitioners. If you are a researcher interested in single farm modeling, please have a look at our dynamic mixed integer bio-economic model FarmDyn
The Fruchtfolge optimisation model comprises of two main parts:
Plot and crop names are obfuscated in order to ensure privacy. Examples of such an include file can be found in the test/include
subdirectory.
The main model logic is joined in this file. Here, the objective function is specified and additional constraints are included from the model
folder.
Constraints as defined by the Greening directive, or general crop rotational constraints, are stored in the model
folder.
In order to test the model, execute
npm test
The test/include/
folder contains so called include files generated by the Fruchtfolge main application from different test farms. For every farm, a corresponding expected model result with the same file base name needs to be specified in the include/results
folder.
In order to build the model, execute
npm run build
Note that only $include
statements in the form of $include '%WORKDIR%path/to/file.gms'
are correctly concatenated into the final model. Other statements, as $batinclude
etc. are currently not supported.
FAQs
Base model for the Fruchtfolge application
The npm package fruchtfolge-model receives a total of 24 weekly downloads. As such, fruchtfolge-model popularity was classified as not popular.
We found that fruchtfolge-model demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.