Code Monkey home page Code Monkey logo

polybag_count's Introduction

폴리백 수량계산

v0.2 (20220726)

변경점

  1. H 복종은 수량 별도 계산. 이제 최대 복종의 수는 2개.
  2. pandas 에 ceil 함수가 없어서 numpy 패키지 추가
  3. 엑셀파일에서 그룹핑 된 폴리백 수량을 openpyxl 로 건드리니 엑셀파일 자체가 망가짐.
    1. 기본적으로 엑셀파일을 작성한 후에 xlwings 로 후처리하기로 결정
      1. 겸사겸사 그룹으로 묶으면서 생긴 bold 삭제
      2. autofit 적용
      3. 첫 행 빈 라인 삭제

v0.1 (20220725)

수량 계산과정

  1. 오더번호에서 복종글자를 삭제한 항목을 만들고 리스트를 생성한다. (편의상 list_A 라고 호칭)
  2. list_A 에서 항목을 하나씩 꺼낸다. (꺼낸 항목은 편의상 A라고 호칭)
    1. A는 3가지 경우로 나뉨 (오더번호가 3개, 2개 1개)
      1. 오더 3개의 경우
        1. H 복종의 지시량 * 1.02(LOSS)
        2. 남은 2복종의 1호 ~ 15호 세부수량을 비교하여 최대값을 누적
        3. 합계
      2. 오더 2개의 경우
        1. 두 오더의 1호 ~ 15호 세부수량을 비교하여 최대값을 누적
      3. 오더 1개의 경우
        1. 지시량 * 1.02(LOSS)

polybag_count's People

Contributors

tobornot2b avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.