Body: <p>I need to implement a policy gradient algorithms (actor-critic) for the 2D cutting stock problem with varied size stocks. However I'm new to machine learning so I still have no clue how to design the policy.</p>
  <ul>
  <li>There are 25 product type, each has demand at most 20.</li>
  <li>There are 100 stocks, each stock is represented as a 100 by 100 grid. Each grid element is either -2 (not in stock), -1 (in a stock), or a non-negative integer (the index of the product placed on the stock)</li>
  </ul>
  <p>Thank you!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-12-05T11:05:13.947Z
Comments.Text: Ok, can you provide a brief description of the problem and what the goal is? Thanks for providing already some info about the problem but you're not explaining what the goal is.
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-12-07T14:16:04.853Z
Comments.Text: Hello nbro! The goal is to minimize the trim loss, or minimize the total waste area of the stock used!
Comments.UserDisplayName: Phạm Trần Minh Trí
Tags: <neural-networks><reinforcement-learning><policy-gradients><actor-critic-methods><reinforce>
Title: Model the Policy for policy gradient for the 2D cutting stock problem
UserDisplayName: Phạm Trần Minh Trí
ThreadText: # Model the Policy for policy gradient for the 2D cutting stock problem
  
  (Asked by: username_0 on 2024-12-04)
  
  I need to implement a policy gradient algorithms (actor-critic) for the 2D cutting stock problem with varied size stocks. However I'm new to machine learning so I still have no clue how to design the policy.
  
  * There are 25 product type, each has demand at most 20.
  * There are 100 stocks, each stock is represented as a 100 by 100 grid. Each grid element is either -2 (not in stock), -1 (in a stock), or a non-negative integer (the index of the product placed on the stock)
  
  Thank you!
  
  **Tags:** neural-networks, reinforcement-learning, policy-gradients, actor-critic-methods, reinforce
  > **Comments:**
  > **username_1**: Ok, can you provide a brief description of the problem and what the goal is? Thanks for providing already some info about the problem but you're not explaining what the goal is.  
  > **username_0**: Hello nbro! The goal is to minimize the trim loss, or minimize the total waste area of the stock used!  
  
  ---
  
  ## 0 answers
  
  