Python Forum
Blending calculator from final product
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blending calculator from final product
#1
Hi folks,
I was hoping someone might be able to give me some advice on this as I've gotten a little stuck. I'm a novice with Python so this is a bit new to me.

I'm looking to make a blending calculator for products. Basically want to input a final product with 4 specific variables (color, size, fat percentage, etc) and see if it is possible to produce this from an existing stock of 5 products. I do not need optimized costs, or parameters, only a function that will say yes it is possible you can blend 20 percent product 1, 30 percent product 2, and 50 percent product 3 to produce the desired new product.

I used this https://pythonhosted.org/PuLP/CaseStudie...oblem.html for a good start but it is seeking to minimize costs and I simply need to see if a solution exists for the final product and got a bit stuck in the process. Is there a way to modify it from optimizing minimum cost to simply outputting CAN this solution exist and here are the percentages necessary?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  final web password form robertkwild 1 295 Aug-07-2024, 09:12 AM
Last Post: wewer
  Product Image Download Help Required pythonustasi 5 633 Jul-21-2024, 08:12 PM
Last Post: snippsat
Information Showing trendline formula in a table per product Carlossxx 0 998 May-03-2023, 08:34 AM
Last Post: Carlossxx
  Blending images with tkinter rleiman 0 1,287 Apr-15-2022, 08:37 PM
Last Post: rleiman
  How to add product details in exe generated by pyinstaller arex786 1 9,819 Oct-10-2021, 11:00 AM
Last Post: Sran012
  Largest product in a grid (projecteuler problem11) tragical 1 2,561 Sep-14-2020, 01:03 PM
Last Post: Gribouillis
  Make dual vector dot-product more efficient technossomy 3 2,901 Nov-28-2019, 09:27 PM
Last Post: Gribouillis
  How to Stop Sentinel Value from Entering Final Output ZQ12 3 3,787 Nov-11-2019, 07:25 AM
Last Post: perfringo
  Store a product/item in a inventory program viktoria_linn 1 4,372 Jul-02-2019, 09:26 PM
Last Post: DeaD_EyE
  Product expression. jarrod0987 1 2,607 Dec-13-2018, 11:32 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020