Is there a way to linearize the ceiling function so that it can be used as a constraint in an LP?

I want to include costs per every 50 units (x) as that is the capacity of the transportation vehicle. If the cost per transportation vehicle is 100, then the cost would be 100(<ceiling function="">x/50) so that in effect the number is rounded up so that both 51 units and 100 units will be charged 200 for the use of two transportation vehicles.

asked 02 Dec '17, 17:39

vilstrat's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 02 Dec '17, 17:39

Seen: 358 times

Last updated: 02 Dec '17, 18:22

OR-Exchange! Your site for questions, answers, and announcements about operations research.