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 106417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:35:36+00:00 2026-05-11T01:35:36+00:00

Overall Plan Get my class information to automatically optimize and select my uni class

  • 0

Overall Plan

Get my class information to automatically optimize and select my uni class timetable

Overall Algorithm

  1. Logon to the website using its Enterprise Sign On Engine login
  2. Find my current semester and its related subjects (pre setup)
  3. Navigate to the right page and get the data from each related subject (lecture, practical and workshop times)
  4. Strip the data of useless information
  5. Rank the classes which are closer to each other higher, the ones on random days lower
  6. Solve a best time table solution
  7. Output me a detailed list of the BEST CASE information
  8. Output me a detailed list of the possible class information (some might be full for example)
  9. Get the program to select the best classes automatically
  10. Keep checking to see if we can achieve 7.

6 in detail Get all the classes, using the lectures as a focus point, would be highest ranked (only one per subject), and try to arrange the classes around that.

Questions

Can anyone supply me with links to something that might be similar to this hopefully written in python? In regards to 6.: what data structure would you recommend to store this information in? A linked list where each object of uniclass? Should i write all information to a text file?

I am thinking uniclass to be setup like the following attributes:

  • Subject
  • Rank
  • Time
  • Type
  • Teacher

I am hardly experienced in Python and thought this would be a good learning project to try to accomplish. Thanks for any help and links provided to help get me started, open to edits to tag appropriately or what ever is necessary (not sure what this falls under other than programming and python?)

EDIT: can’t really get the proper formatting i want for this SO post ><

  • 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. 2026-05-11T01:35:37+00:00Added an answer on May 11, 2026 at 1:35 am

    Depending on how far you plan on taking #6, and how big the dataset is, it may be non-trivial; it certainly smacks of NP-hard global optimisation to me…

    Still, if you’re talking about tens (rather than hundreds) of nodes, a fairly dumb algorithm should give good enough performance.

    So, you have two constraints:

    1. A total ordering on the classes by score; this is flexible.
    2. Class clashes; this is not flexible.

    What I mean by flexible is that you can go to more spaced out classes (with lower scores), but you cannot be in two classes at once. Interestingly, there’s likely to be a positive correlation between score and clashes; higher scoring classes are more likely to clash.

    My first pass at an algorithm:

    selected_classes = [] classes = sorted(classes, key=lambda c: c.score) for clas in classes:     if not clas.clashes_with(selected_classes):         selected_classes.append(clas) 

    Working out clashes might be awkward if classes are of uneven lengths, start at strange times and so on. Mapping start and end times into a simplified representation of ‘blocks’ of time (every 15 minutes / 30 minutes or whatever you need) would make it easier to look for overlaps between the start and end of different classes.

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

Sidebar

Ask A Question

Stats

  • Questions 88k
  • Answers 88k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Just walk the list and look for matches. If you… May 11, 2026 at 5:47 pm
  • Editorial Team
    Editorial Team added an answer To be honest, I know nothing about PowerBoots. However: I… May 11, 2026 at 5:47 pm
  • Editorial Team
    Editorial Team added an answer The official name of # is the stringizing operator. It… May 11, 2026 at 5:47 pm

Related Questions

I am a little ashamed to say that I have never used an ORM;
I am preparing for the development of an enterprise-style application for a very small
One thing I struggle with is planning an application's architecture before writing any code.
The Query Optimizer is estimating that the results of a join will have only

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.