Find Jobs
Hire Freelancers

PHP wrote function for cutting stock

$10-25 USD

Cerrado
Publicado hace alrededor de 3 años

$10-25 USD

Pagado a la entrega
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 del proyecto: 29025276

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 3 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
2 freelancers están ofertando un promedio de $63 USD por este trabajo
Avatar del usuario
hello, i can help you make this function. can you send to me example data and return result from example?
$25 USD en 1 día
4,9 (409 comentarios)
7,7
7,7

Sobre este cliente

Bandera de ROMANIA
Bucuresti, Romania
5,0
14
Forma de pago verificada
Miembro desde ago 13, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.