Skip to main content

An optimal pricing model that can be used for any new product launched in the market.

Project description

This is an optimal pricing model and loan allotment model based on ROI.

There are two functions within, one for each model.

calc_new_prod_price(var_cost_list, max_qty, max_price, fixed_cost, profit_margin)

This function has to be called for determining the optimal price of a new product entering the market. It takes the following arguments:

var_cost_list : (compulsory) Takes a list of variable cost inputs per unit of product.

max_qty : (compulsory) Takes an integer input of the maximum quantity that can be produced of the product.

max_price : (compulsory) Takes a numeric input of the maximum price that can be set for the product based on precedent or industry standards.

fixed_cost : (compulsory) Takes a numeric input of the fixed costs incurred while producing the product regardless of the quantity produced.

profit_margin : (optional) Takes a numeric input and allows the user to provide their desired profit margins for optimal pricing. In case it is left blank, a default profit margin will be calculated via mathematical formulas.

loan_alloc(total_fund, percent_alloc, i, signs)

This function has to be called for estimating the loan allotment for each category. The function takes the following arguments:

total_fund: (Compulsory) Takes a numeric input of the total fund that the bank has available for loan allotment.

percent_alloc: (Compulsory) Takes a list input of numeric data for the percentage of the total fund allotted to each loan category.

i: (Compulsory) Takes a list input of numeric data for the Rate of Interest associated with each loan category.

signs: (Compulsory) Takes a list input of string type for the sign of the constraint i.e. “<=“ or “>=“

CHANGE LOG


0.0.1 (04/11/2022)


  • First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pranyaoptimalpricingmodel1-0.0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file pranyaoptimalpricingmodel1-0.0.1.tar.gz.

File metadata

File hashes

Hashes for pranyaoptimalpricingmodel1-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7b50d073aa2f0ab3e0eb6d80f3de7b101720b2ffae2fe92ad26cc8f336e92501
MD5 cfa201625e2af593282bc2629d3bba76
BLAKE2b-256 8357d1b20722b513d2278b2826492d673ef84ce0a6fc27c9c241a9343a6a151b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page