Results 1 to 6 of 6

Solver Simplex LP. Negative Profit Tax Problem

Threaded View

  1. #1
    Registered User
    Join Date
    12-07-2023
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    10

    Solver Simplex LP. Negative Profit Tax Problem

    Dear Community,

    I've already examined many topics on this forum and still unable to figure out a solution, although it is probably very simple.



    Brief intro
    There are several Locations: Location_1..Location_n.

    Each Location has a certain amount of Revenue. Also, each Location has its local Profit Tax Rate (given in percent). So, in Location_1 there is ProfitTax%_1...Location_n has ProfitTax%_n.

    Locations can trade each other, so that one Location is a seller and the other one is a buyer. There are many rules and constraints here, so I omit this part as is does not appear important.

    What we need is that after Locations distribute their revenues between each other, the remaining amount in each location will be called EarningsBeforeTax: EBT_1..EBT_n.

    Solver Goal
    My goal is to distribute revenues between locations is a way to maximize NetPnL=SUM(EBT_n - EBT_n*ProfitTax%_n).

    I use SimplexLP method to distribute revenues and get EBTs.

    I have built the Solver problem, and it works fine, except for one issue.

    Issue
    It can happen that EBT_n is negative. However, ProfitTax must be applied only to the positive part.
    So I need the objective to maximize NetPnL=SUM(EBT_n - MAX(0,EBT_n*ProfitTax%_n)).

    Obviously, this breaks linearity conditions.

    And I cannot figure out a solution to overcome this.

    To the best of my understanding, Binary variables are not applicable here, as Profit Tax is not something that Solver manages here, not a decision variable. I do not need to enforce positive EBT, I need to charge tax only from profits.

    Also I tried to set ProfitTax% to a very small percent in case when EBT<0, but this also breaks linearity conditions.

    I'm using Excel for Microsoft 365 with Solver Add-In.

    Sample file attached
    solver_profitTax_demo.xlsx
    Last edited by rpieuhtyelnekpmduz; 02-21-2024 at 01:10 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Pivot table profit and loss by month - calculate gross profit and gross profit %
    By parkviewfinance in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-26-2020, 02:34 AM
  2. Replies: 7
    Last Post: 12-31-2016, 12:29 PM
  3. Profit maximation with Solver
    By maryJ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2015, 04:52 PM
  4. Interesting Solver problem (Solver encounters an error)
    By MrShorty in forum Excel General
    Replies: 3
    Last Post: 12-22-2005, 06:55 PM
  5. Profit Maximizing Using Solver
    By johnnie in forum Excel General
    Replies: 0
    Last Post: 10-17-2005, 11:05 PM
  6. solver- maximum profit
    By smallsun in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-25-2005, 12:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1