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
Information Showing trendline formula in a table per product Carlossxx 0 660 May-03-2023, 08:34 AM
Last Post: Carlossxx
  Blending images with tkinter rleiman 0 1,046 Apr-15-2022, 08:37 PM
Last Post: rleiman
  How to add product details in exe generated by pyinstaller arex786 1 8,468 Oct-10-2021, 11:00 AM
Last Post: Sran012
  Largest product in a grid (projecteuler problem11) tragical 1 2,289 Sep-14-2020, 01:03 PM
Last Post: Gribouillis
  Make dual vector dot-product more efficient technossomy 3 2,532 Nov-28-2019, 09:27 PM
Last Post: Gribouillis
  How to Stop Sentinel Value from Entering Final Output ZQ12 3 3,240 Nov-11-2019, 07:25 AM
Last Post: perfringo
  Store a product/item in a inventory program viktoria_linn 1 4,077 Jul-02-2019, 09:26 PM
Last Post: DeaD_EyE
  Product expression. jarrod0987 1 2,363 Dec-13-2018, 11:32 AM
Last Post: buran
  Product of maximum in first array and minimum in second Thethispointer 9 5,280 Jan-19-2018, 07:38 PM
Last Post: Thethispointer
  Final exam calculator iliketocode 1 3,909 Jan-08-2017, 07:06 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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