Find Jobs
Hire Freelancers

PHP wrote function for cutting stock

$10-25 USD

Zaprt
Objavljeno pred približno 3 leti

$10-25 USD

Plačilo ob dostavi
We need a PHP function that can take 2 variables. Scope: Cutting stock problem, examples: [login to view URL] [login to view URL] [login to view URL] Cutting-stock problem is the problem of cutting standard-sized pieces of stock material, such as metal pipes, into pieces of specified sizes while minimising material wasted. It is an optimisation problem in mathematics that arises from applications in industry. function optimisation($material,$requirements) { ... } We provide $material and $requirements as 2 dimensions array. in $material we provide number of pipes and length for each one. eg: [pieces,size] [2,128] [3,100] [1,214] [9,38] in $requirements we provide number of pipes that we want to cut from $material and length for each one. eg: [pieces,size] [5,30] [8,25] --- Function should: 1) return the best way we can cut into pipes provided in $material minimising material wasted and getting $requirements pipes. 2) return each pipe from $material and what cut pipes resulted after cutting it and what waste was generated after the cut 3) if $material is not enough for $requirements specify what pipes from $requirements were not cut 4) if $material is more than enough for $requirements specify what pipes from $material were not cut 5) if no cut is possible, return message "no cut is possible" ==================================================== One single milestone, no partial delivery. In order to confirm delivery you need to provide a working environment/webpage/phpfiddle where I can run tests on the script.
ID projekta: 29025276

Več o projektu

2 ponudb
Projekt na daljavo
Aktivno pred 3 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
2 freelancerjev je oddalo ponudbo s povprečno vrednostjo $63 USD za to delo
Avatar uporabnika
hello, i can help you make this function. can you send to me example data and return result from example?
$25 USD v 1 dnevu
4,9 (409 ocen)
7,7
7,7

O stranki

Zastava ROMANIA
Bucuresti, Romania
5,0
14
Plačilna metoda je verificirana
Član(ica) od avg. 13, 2014

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.