Inverse cohomological isomorphisms Let $\ M'\ M''\ $ be simply-connected Hausdorff compact manifolds (possibly with boundary for another variant of the question). Let $\ f:M'\rightarrow M''\ $ be a continuous function which induces an isomorphism of the cohomological rings. Does there exist a continuous function $\ g:M''\rightarrow M'\ $ which induces the inverse cohomology ring isomorphism?
 A: Some further comments on homology spheres:  First, for any closed connected orientable $n$-manifold $M$ there is always a degree $1$ map $M\to S^n$ obtained by collapsing the complement of an open ball in $M$ to a point.  In the reverse direction, any degree $1$ map $f:M\to N$ of closed connected orientable $n$-manifolds must induce a surjection on $\pi_1$, for otherwise $f$ could be lifted to the covering space $\tilde N \to N$ corresponding to the proper subgroup $f_*(\pi_1M) \subset \pi_1N$. If this covering is finite-sheeted, then the degree of the projection $\tilde N\to N$ is equal to the number of sheets (which is the index of $f_*(\pi_1M)$ in $\pi_1N$) since an orientation of $N$ lifts to an orientation of $\tilde N$, making the local degrees at all points in a fiber have the same sign. Thus the degree of $f$ is divisible by the number of sheets, so it can't be $1$.  If the covering is infinite-sheeted then $\tilde N$ is noncompact so $H_n(\tilde N)=0$, forcing $f$ to have degree $0$. Applying this fact to a degree $1$ map $S^n\to N$ we see that $\pi_1N=0$ so it can't be a nonsimply-connected homology sphere.  (These are classical arguments, incidentally.)
A: The question has been answered in the comments. To justify writing this answer I'll sweeten it with some links and further details. 
Compact manifolds (possibly with boundary) have the homotopy type of a CW-complex, see the answers to this MO-question which also provide links to the literature. 
If $f:X\to Y$ induces isomorphisms on cohomology and $X$ and $Y$ are simply-connected spaces, then $f$ is a weak equivalence, discussed e.g. here.
Subtleties with homological Whitehead theorems in the non-simply-connected case are discussed in this MSE-question. I suppose that the implication from cohomology isomorphism to weak equivalence needs isomorphisms on fundamental groups and cohomology with all local systems coefficients, unless the space is nilpotent, see this paper of Gersten and the cited paper of E. Dror. 
If $f:X\to Y$ is a weak equivalence of CW-complexes, then it is a homotopy equivalence, and therefore has a homotopy inverse $g:Y\to X$, which induces the inverse cohomological isomorphism for $f^\ast:H^\ast(Y)\to H^\ast(X)$. By the first remark this applies to all compact manifolds with boundary. 
Finally, an example with homology spheres, some other examples of what can go wrong have been provided in the links above. 
In Milnor's paper on Brieskorn homology spheres, one can find lots of examples of homology spheres which have a contractible universal cover (they are covered by hyperbolic three-space and their fundamental groups are related to triangle groups). The plus-construction again provides a map $M\to S^3$ from the homology sphere to $S^3$. (The plus-construction produces a CW-complex which by Whitehead's theorem again is homotopy equivalent to $S^3$.) This map $M\to S^3$ induces an isomorphism on cohomology with integral coefficients. However, there can not be an inverse, because the universal covering of $M$ is contractible and so every map $S^3\to M$ has degree $0$. This provides another example that some condition like simply-connected is necessary.
