Skip to main content

Posts

Logistics Grid

A mining site consists of \(n\) Extraction Mines and \(m\) Refining Plants (where \(n, m \geq 1\)). For logistical efficiency, every mine must be connected to every plant by a direct road. In mathematics, we represent this as a complete bipartite graph , denoted by \(K_{n, m}\). In this bipartite structure, the nodes are divided into two distinct sets: a set of \(n\) nodes representing the mines and a set of \(m\) nodes representing the plants. Connections only exist between nodes of different sets—never between two mines or two plants. To prevent traffic collisions, these roads are built on a single flat plain and must be planar (meaning no two roads are allowed to cross). Problem Statement Consider a "Feasibility Matrix" \(M\) for all \(n, m \geq 1\), where an entry \(M_{n,m} = 1\) if a planar layout for the graph \(K_{n, m}\) is possible, and \(0\) otherwise. Which of the following statements is true? a) \(M_{n, m} = 0\)...
Recent posts

The Sabotage

As a resistance leader, you have obtained a schematic map of the dictatorship's communication cables. Because the government wants to control every piece of news, the signal is one-way only , flowing from the capital out to the military. To launch your attack, you must completely cut all connection between the Capital (s) and the Military Base (t) . Each one-way cable is guarded. The cost to destroy a cable (in C4 charges and personnel) is equal to its capacity. You have a total budget of B = 10 . s a b t 10 8 2 3 ...

The Reachability & SCC Correlation

In a directed graph \(G = (V, E)\), we explore the relationship between path reachability and Strongly Connected Components (SCCs) . To analyze this, we define two functions: \(f(u, v) \in \{True, False\}\): Returns True if there exists at least one directed path from \(u\) to \(v\). \(scc\_id(u) \in \mathbb{Z}\): Returns a unique ID for the SCC containing node \(u\). In the following example, we can observe that two nodes \(u\) and \(v\) are in the same SCC if and only if \(scc\_id(u) = scc\_id(v)\). scc_id = 1 scc_id = 2 scc_id = 3 1 2 3 ...

The Barking Dog Dilemma

Albert enjoys walking through his neighborhood to buy groceries. He models the neighborhood as an undirected simple graph \(G=(V,E)\), where: Each corner is represented by a vertex . Each street connecting two corners is represented by an edge . Albert starts from his home at vertex \(s\) and wants to reach the grocery store at vertex \(t\). Some dogs in the neighborhood bark aggressively. Dogs may be located either at corners or along streets , and they are represented in the graph as follows: If a dog is located at a corner , the corresponding vertex is considered unsafe . If a dog is located along a street , the corresponding edge is considered unsafe . Consider the graph with: Vertices \(V=\{s,1,2,3,4,5,6,t\}\) Edges \(E=\{(s,1),(s,3),(1,3),(1,2),(3,4),(3,6),(4,5),(5,6),(4,2),(2,t)\}\) Additionally: Edge \((1,2)\) is unsafe. Edge \((3,4)\) is unsafe. Vertex \(1\) is unsafe. s 1 2 3 4 5 6 t ...

Inverse Problem for Degree Sequences

Let G = (V,E) be a simple undirected graph , meaning that it has no self-loops (edges of the form (v,v)) and no multiple edges between the same pair of vertices. For such a graph we can define its degree sequence deg , where each element represents the degree of a vertex. For example, the graph shown below has degree sequence deg = (3,1,1,1) In this exercise we consider the inverse problem : given a degree sequence deg , determine whether it is possible to construct a simple undirected graph with that sequence. For each of the following statements, determine whether it is True (T) or False (F) . i) deg = (2,2) generates more than one graph. ii) deg = (2,2,2) generates exactly one graph. iii) deg = (2,2,2,2,2,2) generates exactly one graph. Alternatives a) TTF b) FTT c) TFT d) FTF e) None of the above Original idea by: Luis Alberto Vásquez Vargas