Till KTH:s startsida Till KTH:s startsida
VT 2016 algokomp16
KTH / Kurswebb / Algoritmer och komplexitet (DD2352) / VT 2016 algokomp16 / Nyhetsflöde

Nyhetsflöde

Logga in till din kurswebb

Du är inte inloggad på KTH så innehållet är inte anpassat efter dina val.

Har du frågor om kursen?

Om du är registrerad på en aktuell kursomgång, se kursrummet i Canvas. Du hittar rätt kursrum under "Kurser" i personliga menyn.

Är du inte registrerad, se Kurs-PM för DD2352 eller kontakta din studentexpedition, studievägledare, eller utbilningskansli.

I Nyhetsflödet hittar du uppdateringar på sidor, schema och inlägg från lärare (när de även behöver nå tidigare registrerade studenter).

Maj 2016
Schemahändelse Tentamen, 30 maj 2016 14:00
under
VT 2016 algokomp16
Schemahandläggare skapade händelsen 14 september 2015

ändrade rättigheterna 3 november 2015

Kan därmed läsas av alla och ändras av lärare.
Schemahandläggare tog bort händelsen 13 november 2015
Schemahandläggare tog bort händelsen 13 maj 2016
Schemahandläggare redigerade 13 maj 2016

D32, D354, D35, E31

Schemahandläggare återställde händelsen ifrån papperskorgen. 13 maj 2016

En användare har tagit bort sin kommentar
Olof Heurgren kommenterade 29 maj 2016

how do you know what room you should be in?

Anmäl missbruk
Arman Haghighi kommenterade 29 maj 2016

@Olof : check your KTH email account. there must be an email with the subject of course code.

inside that email it is mentioned which room you should go ;)

Anmäl missbruk
Olof Heurgren kommenterade 30 maj 2016

That's strange. Being an SU student, I had to sign up by email. But I'm sure I did and I got a confirmation email back. But I can't find any email about seating.

Anmäl missbruk
 
Sida Examination
under VT 2016 algokomp16

Johan Karlander skapade sidan 11 januari 2016

Lärare Johan Karlander ändrade rättigheterna 24 januari 2016

Kan därmed läsas av alla och ändras av lärare.
Stanislav Pintjuk kommenterade 2 maj 2016

Are there solutions for last years exam? Also can I find even older exams for this course some where?

Anmäl missbruk
Sofia Broomé kommenterade 3 maj 2016

Just so I've gotten this right: is the final grade the unweighted mean value of MAS1, MAS2 and Exam even though the exam is worth 3 credits and MAS1 and MAS 2 are only worth 1.5 credits each?

Anmäl missbruk
Lärare Johan Karlander kommenterade 3 maj 2016

Yes, that's it.

Anmäl missbruk
Samuel Zackrisson kommenterade 15 maj 2016

How and when will we be allotted times for the complementary oral exam?

Anmäl missbruk
Erik Reimers kommenterade 15 maj 2016

Which grade will you get if you get A:s on the mästarprov and a C on the exam? Do you have to do the complementary exam to get A as the final grade?

Anmäl missbruk
Julian Hedén kommenterade 23 maj 2016

I am also wondering if there is any solutions to last years exam?

Anmäl missbruk
2 personer gillar kommentaren
Alexander Tingström kommenterade 23 maj 2016

Hello!

My lab partner and I just finished a lab from the ADK course which we need to present. If I have understood correctly it is possible to present this lab (lab 3, bipartite matching) during the lab times for this course. However I cannot see a schedule containing the times in which we can do this. When will the next lab session be?

///Alexander Tingström & Erik Deng

Anmäl missbruk
Viggo Kann kommenterade 24 maj 2016

Alexander och Erik, ADK-labbar kommer att kunna redovisas under labbveckan 2-9 juni. Schema kommer att läggas upp på http://www.csc.kth.se/utbildning/kth/labbvecka/

Anmäl missbruk
En person gillar kommentaren
Andreas Gnau kommenterade 24 maj 2016

How are the rules the other way round? In how far are the labs, mästarprov, exam of algokomp and adk exchangable given one is registered for algokomp (and is sufficiently good at Swedish and Swedish to understand the tasks at hand).

Anmäl missbruk
En person gillar kommentaren
 
Sida Exercises
under VT 2016 algokomp16

Johan Karlander skapade sidan 11 januari 2016

Rasmus Berggrén kommenterade 19 januari 2016

Are these exercises supposed to be handed in? Presented orally? And in that case, what are the deadlines? 

Anmäl missbruk
Lärare Johan Karlander kommenterade 19 januari 2016

No, you don't have to do that.

Anmäl missbruk
Nick Anderson kommenterade 19 januari 2016

So these are intended to give us some practice?

Anmäl missbruk
Lärare Johan Karlander kommenterade 19 januari 2016

Yes, that is the meaning.

Anmäl missbruk
Rasmus Berggrén kommenterade 10 februari 2016

When will the solutions for Exercise 3 be available? Having the solutions to these exercises available early would help immensely in getting practice well before the labs and other examination moments. 

Anmäl missbruk
Lärare Johan Karlander kommenterade 10 februari 2016

Now.

Anmäl missbruk
Stanislav Pintjuk kommenterade 16 maj 2016

A can't open any of the exercises. I am getting a 403 error. Can you fix the problem ASAP please?

Anmäl missbruk
Lärare Johan Karlander kommenterade 16 maj 2016

See the page "Problem with files"

Anmäl missbruk
Stanislav Pintjuk kommenterade 16 maj 2016

Oh ok, sorry, didn't notice that page. Thank you!

Anmäl missbruk
 
Sida Lectures
under VT 2016 algokomp16

Johan Karlander skapade sidan 11 januari 2016

Margaret Stutz kommenterade 12 maj 2016

I'm no longer able to access any of the lectures, I get a 403 Forbidden Error.

Anmäl missbruk
Lärare Johan Karlander kommenterade 12 maj 2016

I have provided a temporal solution. See the page: "Problem with files".

Anmäl missbruk
En person gillar kommentaren
 
April 2016
Sida Laboratory work
under VT 2016 algokomp16

Johan Karlander skapade sidan 11 januari 2016

Christian Abdelmassih kommenterade 27 januari 2016

When will the first lab be published?

Anmäl missbruk
Lärare Johan Karlander kommenterade 27 januari 2016

Probably at the end of this week.

Anmäl missbruk
Lärare Johan Karlander kommenterade 29 januari 2016

Lab 1 is now published.

Anmäl missbruk
Jonathan Kindfält kommenterade 31 januari 2016

Hi,

Are the labs supposed to be done individually or are we allowed to talk about solutions with other students?

Anmäl missbruk
Lärare Johan Karlander kommenterade 31 januari 2016

You can do them in groups of two. The answers to the theory questions should be written individually and given to the lab assistent. Except from working two and two on the code, you should not collaborate.

Anmäl missbruk
Steven Hu kommenterade 2 februari 2016

Hi,

Some of the links in the document is not working. I also think some of the information might be outdated. For example it says algokomp14. 

Anmäl missbruk
Lärare Johan Karlander kommenterade 3 februari 2016

I have made an update now.

Anmäl missbruk
Olof Karlsson kommenterade 4 februari 2016

I still can't find algokomp16 on Kattis though...? (the only course offering listed is algokomp15)

Anmäl missbruk
Lärare Johan Karlander kommenterade 4 februari 2016

Should be fixed now.

Anmäl missbruk
Jonas Andersson kommenterade 8 februari 2016

Just for clarification, are the theory questions worth 1 point and submitting a working solution to kattis worth 1 point as well? So it is possible to earn 2 points total in lab 1?

Anmäl missbruk
Lärare Johan Karlander kommenterade 8 februari 2016

Yes, that is correct. But it is not enough just to submit your solution to kattis. You have to present it to a lab assistent.

Anmäl missbruk
Lärare Johan Karlander kommenterade 8 februari 2016

The first lab should be done in Java. I think I have said something else before but this is what is stated in the problem formulation. More precise, you should modify an existing Java program and make algorithmic improvements. Here are some more comments (in Swedish):

Anledningen till att Java krävs i labb 1 är att uppgiften handlar om att
snabba upp ett existerande Javaprogram med algoritmiska förbättringar. Att
skriva om hela programmet i ett snabbare språk tränar inte samma
färdigheter och skymmer de algoritmiska skillnaderna mellan programmen,
vilket kan göra redovisningen svårare. Dessutom kan man nog undvika att
göra någon av de algoritmiska förbättringarna om man skriver om
programmet i C++.

Anmäl missbruk
Jonas Andersson kommenterade 9 februari 2016

OK Got it,

Follow up question - Are the theory questions due on the 12th and the programming due on the 19th? Or can they both be presented on the 19th?

Anmäl missbruk
Lärare Johan Karlander kommenterade 10 februari 2016

If the assistents have time, you can present them both on Feb 12th.

Anmäl missbruk
Jessica Svensson kommenterade 10 februari 2016

But is it possible to present the theory questions as well on the 19th and still get the bonus point? It is a bit unclear.

Anmäl missbruk
Lärare Johan Karlander kommenterade 10 februari 2016

No you have to present them on the 12th.

Anmäl missbruk
Jessica Svensson kommenterade 10 februari 2016

ok thanks :)

Anmäl missbruk
Rasmus Berggrén kommenterade 11 februari 2016

Question 6 states "Show with pseudocode how the recursion can be calculated by using dynamic programming, ie how a matrix M can be created." (emphasis mine). However, on one exercise session it was claimed that part of the definition of dynamic programming is that it is iterative rather than recursive. What is the task really?

Anmäl missbruk
Lärare Johan Karlander kommenterade 11 februari 2016

The idea with dynamic programming is that we have a recursion formula (the recursion referred to above) and with the help of this formula we can iteratively compute "later" values in terms of "earlier" values. So there is no contradiction here.

Anmäl missbruk
Marcus Wallberg kommenterade 12 februari 2016

Are you going to extend the deadline for the theory part of lab1? Qwait is not open and there's more than 40 people that written their names on the white board queue with just one assistant here.

Anmäl missbruk
Lärare Johan Karlander kommenterade 12 februari 2016

Anytime today is ok.

Anmäl missbruk
Olof Heurgren kommenterade 19 februari 2016

Are there going to be any more lab sessions than the two after the one today? I feel that it could be problematic if you get stuck since there is very little time to get assistance.

Anmäl missbruk
Anton Dahlin kommenterade 21 mars 2016

In laboration 1 the theory questions was optionally, is it the same on laboration 2?

Anmäl missbruk
Lärare Johan Karlander kommenterade 21 mars 2016

Yes!

Anmäl missbruk
Olof Karlsson kommenterade 22 mars 2016

In lab2: "No monologues are allowed". Does this mean that all scenes must have at least 2 roles in them?  Or is it just the equivalent of "Each actor may have only one role in each scene." It says a little further down that "the number of roles is between 1 and n", suggesting that a scene may contain only 1 actor after all.

thanks, Olof K

Anmäl missbruk
Olof Karlsson kommenterade 22 mars 2016

EDIT: [...] only 1 role after all.

Anmäl missbruk
Stanislav Pintjuk kommenterade 28 mars 2016

Hello I am having difficulty with understanding the 4th theory question

  • "Which is the smallest possible production that satisfies all input constraints for the casting problem and is possible to stage. Specify the input for this production."

What do you mean by "production"? Do you minimum number of actors? Or roles? Or simply an instance?

Also what do you mean by "is possible to stage"? What do you mean by "stage" in this context?

Anmäl missbruk
Grigorios Balaskas kommenterade 30 mars 2016

Hi, is there a possibility to present lab2 theoritic work on a day other than the 14th of april? I have to fly back to my homecity that day. Thank you in advance!

Anmäl missbruk
Andreas Gnau kommenterade 30 mars 2016

I have the same question as above (present lab2 theory on another day than 14th April)

Anmäl missbruk
Martin Funkquist kommenterade 3 april 2016

My interpretation of exercise 4 is that the "smallest possible production" is the production that requires the least amount of actors and/or scenes. Is that correct? 

By "stage" I think it's meant to be able to perform the play on stage with the given constraints. 

I also have a question about the 5th exercise. Is the number of actors, which is asked for, the number of actors that produces that "smallest possible production" or is it something else?

Anmäl missbruk
Lärare Johan Karlander kommenterade 3 april 2016

If you can not attend the session on April 14 you can give your theory solutions to Mladen at any earlier date.

Anmäl missbruk
Martin Funkquist kommenterade 8 april 2016

In lab 2, are we only supposed to reduce the graph coloring problem to the casting problem or also solve it?

What should the output be? Similar to the instances in the description?

Anmäl missbruk
Oskar Wilhelmsson kommenterade 10 april 2016

Hi,
Regarding Lab 2.

Should we apply the "divas" constraints when reducing one of the two NP-complete problems to the casting problem? 

Should we apply the "divas" constraints to the theory questions 4-6? It is not explicitly specified.

Anmäl missbruk
Diego Mancevo Del Castillo Ayala kommenterade 12 april 2016

Hello,

I was wondering, what is the input from Kattis is exactly? I've been trying to read the graph, assuming that the edges are given one line at the time as two integers separated by a space, but I continue to get a NumberFormatError. If we could get some specifications as to how the input is formatted so we can know how to read it properly that would be very helpful.

Thanks a lot!

Anmäl missbruk
En person gillar kommentaren
Lärare Johan Karlander kommenterade 12 april 2016

An update has been made to Lab 2

Anmäl missbruk
Trace Powers kommenterade 12 april 2016

What exactly is the update to the lab? I've been working on the lab and I don't see any difference in the assignment.

Thank you

Anmäl missbruk
En användare har tagit bort sin kommentar
Lärare Johan Karlander kommenterade 12 april 2016

The links are ok now.

Anmäl missbruk
Sofia Broomé kommenterade 12 april 2016

I still can't see any difference, the Kattis pages only consist of a title and a submit-page.

Anmäl missbruk
Rasmus Berggrén kommenterade 12 april 2016

To clarify what the task is in Lab 2: Should the output of our program be equal to the input to the casting problem, as exemplified in the instructions?

Anmäl missbruk
Lärare Johan Karlander kommenterade 12 april 2016

It was a problem with the links to the submit-page it seems as it they didn't work for everyone.

Anmäl missbruk
Lärare Johan Karlander kommenterade 12 april 2016

Your output should be an input to the casting problem.

Anmäl missbruk
Trace Powers kommenterade 13 april 2016

Does each role need to be in at least one scene for a valid casting problem? If not, does actor 1 and 2 need to be in a scene or just assigned a role?

Anmäl missbruk
Oskar Wilhelmsson kommenterade 13 april 2016

What format does Kattis input to the program have?
Will it be separated by commas or white spaces?

Anmäl missbruk
Sofia Broomé kommenterade 13 april 2016

@Oskar, it seems the Kattis input has leading whitespace

Anmäl missbruk
Rasmus Berggrén kommenterade 21 april 2016

16 of my test cases are accepted on Lab 2 (NP reduction 1) but then I get the error message "Output Limit Exceeded". What does this mean?

Anmäl missbruk
Rasmus Berggrén kommenterade 21 april 2016

I solved it. I had simply literally constructed a solution that had too much output and I was able to construct a different solution with much less. 

Anmäl missbruk
Anshil Bhansali kommenterade 21 april 2016
We are trying to reduce the Graph coloring problem, but its passes 5 tests and shows this:
The judge failed to verify your reduction. It is possible that your reduction is correct - and that it is wrong. However, it is possible to accomplish more compact reductions, that can be verified by the judge.

What does it mean? I'm pretty sure our reduction is correct...
Anmäl missbruk
Jonathan Kindfält kommenterade 22 april 2016

Hi,
Another question, I presented both parts of LAB 2 last week but have not been given any points/marks for it.
Are all the presentations going to be marked after today's session?

Anmäl missbruk
Lärare Johan Karlander kommenterade 22 april 2016

Yes.

Anmäl missbruk
 
Schemahändelse Laboration, 22 april 2016 13:00
under
VT 2016 algokomp16
Schemahandläggare skapade händelsen 14 september 2015

ändrade rättigheterna 3 november 2015

Kan därmed läsas av alla och ändras av lärare.
Schemahandläggare tog bort händelsen 13 november 2015
Schemahandläggare redigerade 11 april 2016

Fredag 22 april 2016 kl 13:00 - 157:00

 
Schemahändelse Laboration, 14 april 2016 15:00
under
VT 2016 algokomp16
Schemahandläggare skapade händelsen 14 september 2015

ändrade rättigheterna 3 november 2015

Kan därmed läsas av alla och ändras av lärare.
Schemahandläggare tog bort händelsen 13 november 2015
Schemahandläggare redigerade 11 april 2016

Torsdag 14 april 2016 kl 15:00 - 178:00

 
Mars 2016
Schemahändelse Redovisning, 3 mars 2016 15:00
under
VT 2016 algokomp16
Schemahandläggare skapade händelsen 14 september 2015

ändrade rättigheterna 3 november 2015

Kan därmed läsas av alla och ändras av lärare.
Schemahandläggare tog bort händelsen 13 november 2015
Schemahandläggare redigerade 1 februari 2016

D4E2

Schemahandläggare redigerade 26 februari 2016

E2

Jonas Andersson kommenterade 3 mars 2016

What building is this in? Booking page just says room 1523

Anmäl missbruk
 
Februari 2016
Schemahändelse Redovisning, 1 mars 2016 08:00
under
VT 2016 algokomp16
Schemahandläggare skapade händelsen 14 september 2015

ändrade rättigheterna 3 november 2015

Kan därmed läsas av alla och ändras av lärare.
Schemahandläggare tog bort händelsen 13 november 2015
Schemahandläggare redigerade 1 februari 2016

E53

Schemahandläggare redigerade 26 februari 2016

E3

 
Lärarinlägg The lecture on Wednesday 17th is in D34.
av Johan Karlander under
VT 2016 algokomp16

The lecture on Wednesday 17th is in D34.

Anmäl missbruk
Lärare Johan Karlander skrev inlägget 16 februari 2016
 
Visa äldre
  • VT 2016 algokomp16
  • Algoritmer och komplexitet
DD2352 | hp

Urval: endast omgång/grupp

  • Översikt
  • Nyhetsflöde
  • Schema
  • VT 2016 algokomp16
    • Aim
    • Contents
    • Course documents
      • Lectures
      • Exercises
      • Laboratory work
      • Mästarprov
      • Problem with files
    • Examination
    • Required reading
    • Teachers
    • Exam on Mas 1
    • Extra mästarprov
    • Oral exam for higher degree
    • Schedule
    • Solutions to the exam

KTH

  • Utbildning
  • Forskning
  • Samverkan
  • Om KTH
  • Student på KTH
  • Alumni
  • KTH Intranät

Organisation

  • KTH Biblioteket
  • KTH:s skolor
  • Rektor och ledning
  • KTH:s verksamhetsstöd

Tjänster

  • Schema
  • Kurs-, program- och gruppwebbar
  • Lärplattformen Canvas
  • Webbmejl

Kontakt

KTH
100 44 Stockholm
+46 8 790 60 00

  • Kontakta KTH
  • Jobba på KTH
  • Press och media
  • Faktura och betalning KTH
  • Om KTH:s webbplatser
  • Tillgänglighetsredogörelse