Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3795854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:08:49+00:00 2026-05-19T13:08:49+00:00

I have bundles of objects different size ( lot of objects can have same

  • 0

I have bundles of objects different size ( lot of objects can have same size, example: I have 54 object of 6B, 76 of 10B, 79 of 24B etc.

The size of the objects are 6, 8 ,10 …. bytes ). I need to pack that bundle in couple messages ( each message has maximum length 256 bytes).

Problem is how to get the solution with the minimum number of messages?

Is there any known algorithm for this? Do I need Hopfield neural network for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T13:08:50+00:00Added an answer on May 19, 2026 at 1:08 pm

    This is an example of the bin packing problem which is a combinatorial NP-hard problem. The simplest algorithm is “First Fit Decreasing (FFD)” in which you would first sort your objects by decreasing size, and then insert each object into the first message in the list with sufficient remaining space.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have question about two different Bundle object in below methods : onSaveInstanceState(Bundle outState);
I have two vector objects that contain different types of data that are ordered
I have a mixin class that bundles functionality for different types that do not
Is it possible to have multiple resource bundles in spring mvc? I want to
I have a server application that consists of multiple OSGi bundles, some mine, some
In one of my git projects, I have a zip file which bundles a
I have an image that I have in my bundle resources that I need
I need to download an image from the internet, in a different thread, and
The developer documentation has seemed to have failed me here. I can create a
I have problem with initializing TabHost. I need to have in View several Tabs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.