-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate lp generation into snakemake workflow #54
Comments
Hey @HauHe! I think your original snakefile only included the preprocessing and solving? I do agree though, parallelizing the lp creation would be good. The only issue is that since we try to handle LPs that fail to build, it can be difficult because snakemake will flag them as missing input files for the solve step. Maybe using the multiprocessing library would be a better option. But Ive never used it so I dont really know |
Well or we do it how I did it for solving in the old scripts and put the lo-generation into a python script that handles it and provides snakemake with an output file. |
@trevorb1, I'm tempted to just do this as I had it in the original scrips, i.e., have a python script handling the lp generation and call it from snakemake |
@HauHe, that could be a good solution! A couple of thoughts if this is implement though:
|
The generation of lp file can take quite some time for larger models. Hence it would be good to parallelize this part as well.
Do you think this would be very complicated @trevorb1?
I think in the original scripts I had it within the script called by snakemake.
The text was updated successfully, but these errors were encountered: